3 ms·
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
by marijn 13y ago
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.