inconstancies and unintuitive aspects. The author posts humorous code
snippets which are similar to the bad parts from Crockford's
Other than the obvious examples based around the confusing nature of
("foo" + + "bar") === "fooNaN" (x=.reverse)() === window // true
too long, or does the following make sense?
"string" instanceof String; // false (new String("string")) instanceof String; // true
Of course it's false, it's a string literal rather than an instance of
String! Is it useful to distinguish between string literals and
instances of String?