Table of Contents
List of Reserved Words
false are not keywords but literals, but we cannot use them as identifiers as they have special meaning.
** We cannot use
await only when we use it inside a Module.
set are not keywords, but they do have special meaning in some contexts. Hence better avoid them
List of Strict Mode Reserved Words
You cannot use the following reserved keywords only if you enable strict mode.
The following works although we used
let as the variable name.
But enabling the strict mode will result in an error.
let let=2; //Unexpected strict mode reserved word
The following is a list of strict mode-only reserve words.
|Strict Mode Reserved Words|
Future Reserved Words
The following keywords do not have any special meaning now. But they may be used in some times in the future. Hence they cannot be used as identifiers.
Other Keywords that you must avoid