Some "surprising" things about JavaScript. Andy Balaam discusses reserved words, and the typeof operator, which gives strange results for several objects, including null and NaN. The slides are here: http://www.artificialworlds.net/blog/2012/03/30/javascript-wtfs/
JavaScript WTFs 4 - Reserved words and typeof
Loading comments...