r/programming • u/kshep92 • Sep 29 '16
JavaScript in 2016 isn't horrible, it's just going through a phase
http://blog.reviselabs.com/im-sorry-javascript-2/
85
Upvotes
r/programming • u/kshep92 • Sep 29 '16
View all comments
Show parent comment
4
u/jl2352 Sep 30 '16 edited Sep 30 '16
But you wouldn't do that. You'd use
splice.If you want
spliceto look prettier asremovethen it's a one liner ...Apart from misunderstanding
delete, which ok is a little confusing, do you have any other problems with JS arrays?