Core JavaScript 1.5 Reference
From MDC
Contents |
[edit] About this Reference
- New Features in this Release
- What You Should Already Know
- JavaScript Versions
- Where to Find JavaScript Information
- Formatting Conventions
[edit] Global Objects
The term "global objects" here is not to be confused with the global object. Here, global objects refer to objects in the global scope. The global object itself can be accessed by this in the global scope.
[edit] Standard global objects
- Array
- Boolean
- Date
- Error
- EvalError
- Function
- Math
- Number
- Object
- RangeError
- ReferenceError
- RegExp
- String
- SyntaxError
- TypeError
- URIError
[edit] LiveConnect
Non-standard
Functionality from the following global objects is provided by LiveConnect and is not a standardized part of ECMAScript.
Other objects in the global scope are either created by the user script or provided by the host application. The host objects available in Gecko-based browsers are documented in the Gecko DOM Reference.
For more information about the distinction between the DOM and core JavaScript, see The DOM and JavaScript article.
[edit] Global Properties
This section lists the JavaScript properties not associated with any object. In the ECMAScript specification, these properties are referred to as properties of the global object.
[edit] Global Functions
- Array
- Boolean
- Date
- decodeURI
- decodeURIComponent
- encodeURI
- encodeURIComponent
- Error
- eval
- EvalError
- Function
- isFinite
- isNaN
- Number
- Object
- parseFloat
- parseInt
- RangeError
- ReferenceError
- RegExp
- String
- SyntaxError
- TypeError
- URIError
[edit] Functions
[edit] Statements
- block
- break
- const
- continue
- do...while
- export
- for
- for...in
- for each...in
- function
- if...else
- import
- label
- let
- return
- switch
- throw
- try...catch
- var
- while
- with
[edit] Operators
- Arithmetic Operators (
+,-,*,/,%,++,--, unary-) - Assignment Operators (
=,+=,-=,*=,/=,>>=,<<=,>>>=,&=,|=,^=) - Bitwise Operators (
&,|,^,~,<<,>>,>>>) - Comparison Operators (
==,!=,===,!==,>,>=,<,<=) - Logical Operators (
&&,||,!) - String Operators (
+and+=) - Member Operators (
object.propertyandobject["property"]) - Special Operators:
- Operator Precedence
[edit] Comments
- Code comments (
//and/* */)
[edit] LiveConnect Class Reference
Non-standard