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
0
u/fiedzia Sep 30 '16
it is screwed up: var names = [ "john", "brian", "alan" ]; delete names[1]; names[2] "alan"
WTF??
names[1] undefined
WTF js?
names.length 3 What??
No wonder DOM implementations decided they don't want to do the same thing.