On-line Guides

How To Guides






The JavaScript FAQ
Prev Home Next

Reserved words in JavaScript

Question: What reserved words are there in JavaScript?

Answer: Reserved words of the JavaScript langauge are listed below. (Some of these words are actually used in the Java language, and are reserved in JavaScript for compatibility purposes or as possible extensions.) When choosing names for your JavaScript variables, avoid these reseved words!

In addition to the above reserved words, you'd better avoid the following identifiers as names of JavaScript variables. These are names of client-side objects, methods, or properties in Netscape Navigator or Internet Explorer:

JavaScripter.net. Copyright © 1999-2006, Alexei Kourbatov

The JavaScript FAQ
Prev Home Next


Mirrored with kind permission of Alexei Kourbatov Design by Interspire

AltStyle によって変換されたページ (->オリジナル) /