Re:Fun with JavaScript Arrays
by teh_klev on Wednesday June 12, 2013 @12:15PM
(#5868858)
I think you missed this bit at the beginning of the article:
"Also keep in mind that sometimes I'm playing stupid, but sometimes I'm actually stupid."
I suspect the author knows exactly how arrays work in JS and is just mucking about to demonstrate one of the "Bad Parts". This is pretty much in the same vein as the WAT video (https://www.destroyallsoftware.com/talks/wat)
"Also keep in mind that sometimes I'm playing stupid, but sometimes I'm actually stupid."
I suspect the author knows exactly how arrays work in JS and is just mucking about to demonstrate one of the "Bad Parts". This is pretty much in the same vein as the WAT video (https://www.destroyallsoftware.com/talks/wat)