The Javascript keyword (Reserved Words) refers to the Words that have specific meanings in the Javascript language and become part of the Javascript syntax. Javascript keywords cannot be used as variable names and function names. Using the Javascript keyword as the variable name or function name may cause compilation errors during Javascript loading.
Javascript keyword list:
Break delete function return typeof
Case do if switch var
Catch else in this void
Continue false instanceof throw while
Debugger finally new true
Default for null try
Javascript Future keywords (Javascript Future Reserved Words)
Javascript also has some future keywords. Although these words are not used in Javascript, they may be used in the future.
List of future Javascript keywords:
Abstract double goto native static
Boolean enum implements package super
Byte export import private synchronized
Char extends int protected throws
Class final interface public transient
Const float long short volatile