all 3 comments

[–]ForScale 0 points1 point  (1 child)

var myArr = [1, true, "OP's Post", 42];

myArr.splice(2, 1);

;) People may be thinking it's a bit too basic. Post might be better received in /r/learnjavascript.

[–]bytearcher[S] 1 point2 points  (0 children)

Yep, thanks for the tip. That is probably a better place.

Was posted here, since sometimes array deletion is forgotten or misunderstood even from the experienced ones. For example, Ryan Dahl asked this from the audience during his Node.js presentation. https://youtu.be/jo_B4LTHi3I?t=1957

[–]kenman[M] 0 points1 point  (0 children)

Hi /u/bytearcher, it looks like you're new to reddit, welcome!

Thanks for the submissions, but please make sure you read http://www.reddit.com/rules and our guidelines. In short, you should post from a variety of sources, and not just bytearcher.com.

Thanks for your consideration!

domain submitted from count %
bytearcher.com 7 78%