1. Trang chủ
  2. » Công Nghệ Thông Tin

Appendix B_ JavaScript Reserved Words

1 149 0
Tài liệu đã được kiểm tra trùng lặp

Đang tải... (xem toàn văn)

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 1
Dung lượng 17,69 KB

Nội dung

JavaScript Reserved Words 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 ✦ ✦ ✦ B B APPENDIX ✦ ✦ ✦ ✦ . JavaScript Reserved Words E very programming language has a built-in vocabulary of keywords that cannot be used for the names of variables and. 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,

Ngày đăng: 26/10/2013, 22:15

TỪ KHÓA LIÊN QUAN

w