intTypePromotion=1
zunia.vn Tuyển sinh 2024 dành cho Gen-Z zunia.vn zunia.vn
ADSENSE

Appendix B_ JavaScript Reserved Words

Chia sẻ: Nguyễn Thị Tú Uyên | Ngày: | Loại File: PDF | Số trang:1

114
lượt xem
15
download
 
  Download Vui lòng tải xuống để xem tài liệu đầy đủ

Every programming language has a built-in vocabulary of keywords that cannot be used for the names of variables and the like. For JavaScript, the restrictions also include any names assigned to functions or objects. Netscape’s list of reserved words closely mirrors that of the Java language, thus many of the keywords in the list do not—at least yet— apply to JavaScript. In addition to the reserved words

Chủ đề:
Lưu

Nội dung Text: Appendix B_ JavaScript Reserved Words

  1. JavaScript Reserved Words B A P P E N D I X 3 3 3 3 E very programming language has a built-in vocabulary of keywords that cannot be used for the names of variables and the like. For JavaScript, the restrictions also include any names assigned to functions or objects. Netscape’s list of reserved words closely mirrors that of the Java language, thus many of the keywords in the list do not — at least yet — apply to JavaScript. In addition to the reserved words specified for Netscape’s JavaScript, the ECMA standards group has identified current and future reserved keywords. The list here is a composite of the Netscape and ECMAScript reserved words. Remember that JavaScript keywords are case-sensitive, so while you may get away with using these words in other cases, it may lead to unnecessary confusion for someone reading your scripts. abstract boolean break byte case catch char class const continue debugger default delete do double else enum export extends false final finally float for function goto if implements import in instanceof int interface long native new null package private protected public return short static super switch synchronized this throw throws transient true try typeof var void while with 3 3 3
ADSENSE

CÓ THỂ BẠN MUỐN DOWNLOAD

 

Đồng bộ tài khoản
2=>2