Home  >  Article  >  Web Front-end  >  javascript common keyword list collection_javascript skills

javascript common keyword list collection_javascript skills

WBOY
WBOYOriginal
2016-05-16 19:07:25943browse

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

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn