tailieunhanh - Appendix B_ JavaScript Reserved Words

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 | JavaScript Reserved Words 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 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

TỪ KHÓA LIÊN QUAN
crossorigin="anonymous">
Đã phát hiện trình chặn quảng cáo AdBlock
Trang web này phụ thuộc vào doanh thu từ số lần hiển thị quảng cáo để tồn tại. Vui lòng tắt trình chặn quảng cáo của bạn hoặc tạm dừng tính năng chặn quảng cáo cho trang web này.