Reserved JScript words

Source: Internet
Author: User


Some Reserved Words In JScript cannot be used in identifiers. Reserved Words have special meanings to the JScript Language. They are part of the language syntax. Using reserved words will cause compilation errors when loading scripts.

JScript also contains reserved words for future use. These words are not part of the current JScript Language, but they are reserved for future use.

Reserved 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
Default for null try

Reserved words for the future
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

When selecting an identifier, avoid using words that have already been used in an internal JScript object or function, such as string or parseint.

 

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.