Mozilla.com


Discuss in IRC

Core JavaScript 1.5 Reference

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.

 

Standard global objects (By type)

Basic Data types

Static

Errors

Standard global objects (Alphabetical)

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.

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.

Global Functions

Functions and function scope

Operators

Arithmetic Operators

(+, -, *, /, %, ++, --, unary -)

Assignment Operators

(=, +=, -=, *=, /=, >>=, <<=, >>>=, &=, |=, ^=)

Bitwise Operators

(&, |, ^, ~, <<, >>, >>>)

Comparison Operators

(==, !=, ===, !==, >, >=, <, <=)

Logical Operators

(&&, ||, !)

String Operators

(+ and +=)

Member Operators

(object.property and object["property"])

Special Operators
Conditional Operator

(condition ? ifTrue : ifFalse)

Comma Operator

(,)

delete Operator

(delete)

function Operator

(function)

get Operator

(get)

in Operator

(in)

instanceof Operator

(instanceof)

let Operator

(let)

new Operator

(new)

set Operator

(set)

this Operator

(this)

typeof Operator

(typeof)

void Operator

(void)

yield Operator

(yield)

Operator Precedence
Operator precedence defines the order in which operators are evaluated.

Comments

E4X (extension)

Global statements:

Global functions:

Global constructors:

Page last modified 15:16, 7 Dec 2009 by Dyhan81

Files (0)