ECMAScript Keywords
- Previous Page ECMAScript Variables
- Next Page ECMAScript Reserved Words
This section provides a complete list of ECMAScript keywords.
ECMAScript Keywords
ECMA-262 defines a set of ECMAScript supported byKeywords (keyword).
These keywords identify the beginning and/or end of ECMAScript statements. According to the specification, keywords are reserved and cannot be used as variable names or function names.
The following is a complete list of ECMAScript keywords:
break case catch continue default delete do else finally for function if in instanceof new return switch this throw try typeof var void while with
Note:If you use a keyword as a variable name or function name, you may get error messages like "Identifier Expected" (expected an identifier).
- Previous Page ECMAScript Variables
- Next Page ECMAScript Reserved Words