最近在 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. |