Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

lewisje

年加入本站
lewisje

最近在 Docs 的活動

檢視所有活動
頁面 日期 回應

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.