Javascript keywords (Reserved Words) refer to those words that have specific meanings in the Javascript language and become part of the Javascript grammar. Javascript keywords cannot be used as variable names and function names. Using Javascript keywords as variable names or function names will cause compilation errors in Javascript during the loading process.
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 with
default for null try
Javascript Future Reserved Words (Javascript Future Reserved Words)
Javascript also has some future keywords. Although these words are not currently used in the Javascript language, they may be possible in the future. used.
Javascript future keyword list:
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