JavaScript reference

  • Revision slug: JavaScript/Reference
  • Revision title: JavaScript Reference
  • Revision id: 68283
  • Created:
  • Creator: Stav
  • Is current revision? No
  • Comment /* [[Core JavaScript 1.5 Reference:Reserved Words|Appendix A - Reserved Words]] */

Revision Content

About this Reference

New Features in this Release
What You Should Already Know
JavaScript Versions
Where to Find JavaScript Information
Formatting Conventions

Objects

Array
Boolean
Date
Function
java
JavaArray
JavaClass
JavaObject
JavaPackage
Math
netscape
Number
Object
Packages
RegExp
String
sun

Top-Level Properties

Infinity
NaN
undefined

Top-Level Functions

decodeURI
decodeURIComponent
encodeURI
encodeURIComponent
eval
isFinite
isNaN
Number
parseFloat
parseInt
String

Statements

break
const
continue
do...while
export
for
for...in
function
if...else
import
label
return
switch
throw
try...catch
var
while
with

Comments

comment

Operators

Arithmetic Operators
Assignment Operators
Bitwise Operators
Comparison Operators
Logical Operators
Special Operators
String Operators

LiveConnect Class Reference

JSException
JSObject

Appendix A - Reserved Words

This list includes several keywords that are reserved for future use.

   * abstract
   * boolean
   * break
   * byte
   * case
   * catch
   * char
   * class
   * continue
   * const
   * debugger
   * default
   * delete
   * do
   * double
   * else
   * extends
   * enum
   * export
   * false
   * final
   * finally
   * float
   * for
   * function
   * goto
   * if
   * implements
   * import
   * in
   * instanceOf
   * int
   * interface
   * label
   * long
   * native
   * new
   * null
   * package
   * private
   * protected
   * public
   * return
   * short
   * static
   * super
   * switch
   * synchronized
   * this
   * throw
   * throws
   * transient
   * true
   * try
   * typeof
   * var
   * void
   * volatile
   * while
   * with

The following words are not reserved but they are internal meanings and therefore their use as variables or function names should also be avoided.

   * alert
   * anchor
   * area
   * arguments
   * array
   * assign
   * blur
   * button
   * callee
   * caller
   * captureevents
   * checkbox
   * clearinterval
   * cleartimeout
   * close
   * closed
   * confirm
   * constructor
   * date
   * defaultstatus
   * document
   * element
   * escape
   * eval
   * fileupload
   * find
   * focus
   * form
   * frame
   * frames
   * function
   * getclass
   * hidden
   * history
   * home
   * image
   * infinity
   * innerheight
   * isfinite
   * innerwidth
   * isnan
   * java
   * javaarray
   * javaclass
   * javaobject
   * javapackage
   * length
   * link
   * location
   * locationbar
   * math
   * menubar
   * mimetype
   * moveby
   * moveto
   * name
   * nan
   * navigate
   * navigator
   * netscape
   * number
   * object
   * onblur
   * onerror
   * onfocus
   * onload
   * onunload
   * open
   * opener
   * option
   * outerheight
   * outerwidth
   * packages
   * pagexoffset
   * pageyoffset
   * parent
   * parsefloat
   * parseint
   * password
   * personalbar
   * plugin
   * print
   * prompt
   * prototype
   * radio
   * ref
   * regexp
   * releaseevents
   * reset
   * resizeby
   * resizeto
   * routeevent
   * scroll
   * scrollbars
   * scrollby
   * scrollto
   * select
   * self
   * setinterval
   * settimeout
   * status
   * statusbar
   * stop
   * string
   * submit
   * sun
   * taint
   * text
   * textarea
   * toolbar
   * top
   * tostring
   * undefined
   * unescape
   * untaint
   * unwatch
   * valueof
   * watch
   * window

Appendix B - Deprecated Features

Revision Source

<h4 name="About_this_Reference"> <a href="en/Core_JavaScript_1.5_Reference/About">About this Reference</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/About#New_Features_in_this_Release">New Features in this Release</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/About#What_You_Should_Already_Know">What You Should Already Know</a> 
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/About#JavaScript_Versions">JavaScript Versions</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/About#Where_to_Find_JavaScript_Information">Where to Find JavaScript Information</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/About/Formatting_Conventions">Formatting Conventions</a>
</dd></dl>
<h4 name="Objects"> <a href="en/Core_JavaScript_1.5_Reference/Objects">Objects</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Array">Array</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Boolean">Boolean</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Date">Date</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Function">Function</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/java">java</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/JavaArray">JavaArray</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/JavaClass">JavaClass</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/JavaObject">JavaObject</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/JavaPackage">JavaPackage</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Math">Math</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/netscape">netscape</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Number">Number</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Object">Object</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/Packages">Packages</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/RegExp">RegExp</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/String">String</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Objects/sun">sun</a>
</dd></dl>
<h4 name="Top-Level_Properties"> <a href="en/Core_JavaScript_1.5_Reference/Properties">Top-Level Properties</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/Properties/Infinity">Infinity</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Properties/NaN">NaN</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Properties/undefined">undefined</a>
</dd></dl>
<h4 name="Top-Level_Functions"> <a href="en/Core_JavaScript_1.5_Reference/Functions">Top-Level Functions</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/decodeURI">decodeURI</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/decodeURIComponent">decodeURIComponent</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/encodeURI">encodeURI</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/encodeURIComponent">encodeURIComponent</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/eval">eval</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/isFinite">isFinite</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/isNaN">isNaN</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/Number">Number</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/parseFloat">parseFloat</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/parseInt">parseInt</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Functions/String">String</a>
</dd></dl>
<h4 name="Statements"> <a href="en/Core_JavaScript_1.5_Reference/Statements">Statements</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/break">break</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/const">const</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/continue">continue</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/do...while">do...while</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/export">export</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/for">for</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/for...in">for...in</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/function">function</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/if...else">if...else</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/import">import</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/label">label</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/return">return</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/switch">switch</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/throw">throw</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/try...catch">try...catch</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/var">var</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/while">while</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Statements/with">with</a>
</dd></dl>
<h4 name="Comments"> <a href="en/Core_JavaScript_1.5_Reference/Comments">Comments</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/Comments/comment">comment</a>
</dd></dl>
<h4 name="Operators"> <a href="en/Core_JavaScript_1.5_Reference/Operators">Operators</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/Operators/Arithmetic_Operators">Arithmetic Operators</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Operators/Assignment_Operators">Assignment Operators</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Operators/Bitwise_Operators">Bitwise Operators</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Operators/Comparison_Operators">Comparison Operators</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Operators/Logical_Operators">Logical Operators</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Operators/Special_Operators">Special Operators</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/Operators/String_Operators">String Operators</a>
</dd></dl>
<h4 name="LiveConnect_Class_Reference"> <a href="en/Core_JavaScript_1.5_Reference/LiveConnect">LiveConnect Class Reference</a> </h4>
<dl><dd> <a href="en/Core_JavaScript_1.5_Reference/LiveConnect/JSException">JSException</a>
</dd><dd> <a href="en/Core_JavaScript_1.5_Reference/LiveConnect/JSObject">JSObject</a>
</dd></dl>
<h4 name="Appendix_A_-_Reserved_Words"> <a href="en/Core_JavaScript_1.5_Reference/Reserved_Words">Appendix A - Reserved Words</a> </h4>
<p>This list includes several keywords that are reserved for future use.
</p>
<pre class="eval">   * abstract
   * boolean
   * break
   * byte
   * case
   * catch
   * char
   * class
   * continue
   * const
   * debugger
   * default
   * delete
   * do
   * double
   * else
   * extends
   * enum
   * export
   * false
   * final
   * finally
   * float
   * for
   * function
   * goto
   * if
   * implements
   * import
   * in
   * instanceOf
   * int
   * interface
   * label
   * long
   * native
   * new
   * null
   * package
   * private
   * protected
   * public
   * return
   * short
   * static
   * super
   * switch
   * synchronized
   * this
   * throw
   * throws
   * transient
   * true
   * try
   * typeof
   * var
   * void
   * volatile
   * while
   * with
</pre>
<p>The following words are not reserved but they are internal meanings and therefore their use as variables or function names should also be avoided.
</p>
<pre class="eval">   * alert
   * anchor
   * area
   * arguments
   * array
   * assign
   * blur
   * button
   * callee
   * caller
   * captureevents
   * checkbox
   * clearinterval
   * cleartimeout
   * close
   * closed
   * confirm
   * constructor
   * date
   * defaultstatus
   * document
   * element
   * escape
   * eval
   * fileupload
   * find
   * focus
   * form
   * frame
   * frames
   * function
   * getclass
   * hidden
   * history
   * home
   * image
   * infinity
   * innerheight
   * isfinite
   * innerwidth
   * isnan
   * java
   * javaarray
   * javaclass
   * javaobject
   * javapackage
   * length
   * link
   * location
   * locationbar
   * math
   * menubar
   * mimetype
   * moveby
   * moveto
   * name
   * nan
   * navigate
   * navigator
   * netscape
   * number
   * object
   * onblur
   * onerror
   * onfocus
   * onload
   * onunload
   * open
   * opener
   * option
   * outerheight
   * outerwidth
   * packages
   * pagexoffset
   * pageyoffset
   * parent
   * parsefloat
   * parseint
   * password
   * personalbar
   * plugin
   * print
   * prompt
   * prototype
   * radio
   * ref
   * regexp
   * releaseevents
   * reset
   * resizeby
   * resizeto
   * routeevent
   * scroll
   * scrollbars
   * scrollby
   * scrollto
   * select
   * self
   * setinterval
   * settimeout
   * status
   * statusbar
   * stop
   * string
   * submit
   * sun
   * taint
   * text
   * textarea
   * toolbar
   * top
   * tostring
   * undefined
   * unescape
   * untaint
   * unwatch
   * valueof
   * watch
   * window
</pre>
<h4 name="Appendix_B_-_Deprecated_Features"> <a href="en/Core_JavaScript_1.5_Reference/Deprecated_Features">Appendix B - Deprecated Features</a> </h4>
Revert to this revision