Javascript reserved words (JavaScript reserved words)

Source: Internet
Author: User

Javascript reserved words (JavaScript reserved words)
Reserved words refer to the words that have specific meanings in the Javascript language and become part of the Javascript syntax. Javascript reserved words cannot be used as variable names and function names. Using reserved JavaScript words as the variable name or function name may cause compilation errors during Javascript loading.

List of reserved JavaScript words:

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 reserved words in the future. Although these words are not used in Javascript, they may be used in the future.

Future reserved JavaScript word 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.