473
The code was very janky, but it worked
(i.imgflip.com)
Post funny things about programming here! (Or just rant about your favourite programming language.)
Array(3)
doesn't create[undefined, undefined, undefined, ]
; it creates[/* hole */, /* hole */, /* hole */, ]
. The holes don't set any property on the array whatsoever, so they are skipped when iterating. How this makes sense, I can't tell you.Yet the array contains exactly three nothings.
It's like a zen koan.
Time is a flat circle