lewisje

Member since
lewisje

Recent Docs Activity

View all activity
Page Date Comment

SyntaxError: return not in function


misspelling, "snipped" -> "snippet"

Lexical grammar


The word "of" is not reserved in any version of ECMAScript, despite becoming a key word in the new ES6 for-of loop; for example, the statement "var of;" never throws a SyntaxError.

in operator


I don't know how to indicate supported versions, but I do know that symbols work as the left operands, and that even odd values for the left operand, like null, booleans, and objects, are converted to strings.