Re:Do you really know JavaScript?
by TheZenPsycho on Friday January 31, 2014 @08:57PM
(#7160511)
I'm not saying Javascript is perfect. just that you can't draw many useful conclusions from a document that sets out to find specifically its weirdest (mis)features.
And actually you could avoid using "typeof" by using polyfills/builtins for the new "is[Type]" range of functions in ecmascript5. or a similar one from a library.
Sounds like one hell of a PR pitch. :)
I got 15/37, in no small part by guessing "what's the most bizarre and inconsistent thing that could happen here"? Apparently my imagination is less vivid than JS's.