News for hackers. Stuff that matters.
Re:The void of undefined in JavaScript by marijn on Friday July 12, 2013 @11:46AM (#6033193)
I find the cult of 'oh my god you can redefine undefined' hilarious. Yes, you can. You can also redefine Array, Object, and so on. If you're writing a script to intentionally disrupt a system, for(;;); will also do. This doesn't happen in sane environments, so it really isn't a problem.

The Crockford quote (characteristically dogmatic, to the effect of 'void means something different in JS than in Java, so AVOID VOID!') is also a kicker.

There are no comments on this comment yet.