ToC
Index
ECMAScript Spec: Table of Contents
- 1. Scope
- 2. Conformance
- 3. References
-
4. Overview
- 4.1 Web Scripting
-
4.2 Language Overview
-
4.3 Definitions
-
5. Notational Conventions
-
5.1 Syntactic and Lexical Grammars
- 5.1.1 Context-Free Grammars
- 5.1.2 The Lexical and RegExp
Grammars
- 5.1.3 The Numeric String Grammar
- 5.1.4 The Syntactic Grammar
- 5.1.5 Grammar Notation
- 5.2 Algorithm Conventions
- 6. Source Text
-
7. Lexical Conventions
- 7.1 Unicode Format-Control Characters
- 7.2 White Space
- 7.3 Line Terminators
- 7.4 Comments
-
7.5 Tokens
- 7.6 Identifier
- 7.7 Punctuators
-
7.8 Literals
-
7.9 Automatic Semicolon Insertion
- 7.9.1 Rules of Automatic Semicolon
Insertion
- 7.9.2 Examples of Automatic Semicolon
Insertion
-
8. Types
- 8.1 The Undefined Type
- 8.2 The Null Type
- 8.3 The Boolean Type
- 8.4 The String Type
- 8.5 The Number Type
-
8.6 The Object Type
- 8.6.1 Property Attributes
- 8.6.2 Internal Properties and
Methods
-
8.7 The Reference Type
- 8.8 The List Type
- 8.9 The Completion Type
-
9. Type Conversion
- 9.1 ToPrimitive
- 9.2 ToBoolean
-
9.3 ToNumber
- 9.3.1 ToNumber Applied to the String
Type
- 9.4 ToInteger
- 9.5 ToInt32: (Signed 32 Bit Integer)
- 9.6 ToUint32: (Unsigned 32 Bit Integer)
- 9.7 ToUint16: (Unsigned 16 Bit Integer)
-
9.8 ToString
- 9.8.1 ToString Applied to the Number
Type
- 9.9 ToObject
-
10. Execution Contexts
-
10.1 Definitions
-
10.2 Entering An Execution Context
-
11. Expressions
-
11.1 Primary Expressions
-
11.2 Left-Hand-Side Expressions
-
11.3 Postfix Expressions
- 11.3.1 Postfix Increment
Operator
- 11.3.2 Postfix Decrement
Operator
-
11.4 Unary Operators
-
11.5 Multiplicative Operators
- 11.5.1 Applying the *
Operator
- 11.5.2 Applying the /
Operator
- 11.5.3 Applying the %
Operator
-
11.6 Additive Operators
- 11.6.1 The Addition operator (
+)
- 11.6.2 The Subtraction Operator (
-)
- 11.6.3 Applying the Additive
Operators (+,-) to Numbers
-
11.7 Bitwise Shift Operators
- 11.7.1 The Left Shift Operator (
<< )
- 11.7.2 The Signed Right Shift
Operator (>> )
- 11.7.3 The Unsigned Right Shift
Operator (>>> )
-
11.8 Relational Operators
- 11.8.1 The Less-than Operator (
< )
- 11.8.2 The Greater-than Operator (
>)
- 11.8.3 The Less-than-or-equal
Operator (<=)
- 11.8.4 The Greater-than-or-equal
Operator (>=)
- 11.8.5 The Abstract Relational
Comparison Algorithm
- 11.8.6 The instanceof operator
- 11.8.7 The in operator
-
11.9 Equality Operators
- 11.9.1 The Equals Operator (
==)
- 11.9.2 The Does-not-equals Operator (
!=)
- 11.9.3 The Abstract Equality
Comparison Algorithm
- 11.9.4 The Strict Equals Operator (
===)
- 11.9.5 The Strict Does-not-equal
Operator (!==)
- 11.9.6 The Strict Equality Comparison
Algorithm
- 11.10 Binary Bitwise Operators
- 11.11 Binary Logical Operators
- 11.12 Conditional Operator (?:
)
-
11.13 Assignment Operators
- 11.14 Comma Operator (,)
-
12. Statements
- 12.1 Block
- 12.2 Variable statement
- 12.3 Empty Statement
- 12.4 Expression Statement
- 12.5 The if Statement
- 12.6 Iteration Statements
- 12.6.1 The do-while
Statement
- 12.6.2 The while statement
- 12.6.3 The for Statement
- 12.6.4 The for-in Statement
- 12.7 The continue Statement
- 12.8 The break Statement
- 12.9 The return Statement
- 12.10 The with Statement
- 12.11 The switch Statement
- 12.12 Labelled Statements
- 12.13 The throw statement
- 12.14 The try statement
-
13. Function Definition
-
13.1 Definitions
-
13.2 Creating Function Objects
- 14. Program
-
15. Native ECMAScript Objects
-
15.1 The Global Object
- 15.1.1 Value Properties of the Global
Object
- 15.1.2 Function Properties of the
Global Object
- 15.1.3 URI Handling Function
Properties
- 15.1.4 Constructor Properties of the
Global Object
- 15.1.5 Other Properties of the Global
Object
-
15.2 Object Objects
- 15.2.1 The Object Constructor Called
as a Function
- 15.2.2 The Object Constructor
- 15.2.3 Properties of the Object
Constructor
- 15.2.4 Properties of the Object
Prototype Object
- 15.2.5 Properties of Object
Instances
-
15.3 Function Objects
- 15.3.1 The Function Constructor
Called as a Function
- 15.3.2 The Function Constructor
- 15.3.3 Properties of the Function
Constructor
- 15.3.4 Properties of the Function
Prototype Object
- 15.3.5 Properties of Function
Instances
-
15.4 Array Objects
- 15.4.1 The Array Constructor Called
as a Function
- 15.4.2 The Array Constructor
- 15.4.3 Properties of the Array
Constructor
- 15.4.4 Properties of the Array
Prototype Object
- 15.4.5 Properties of Array
Instances
-
15.5 String Objects
- 15.5.1 The String Constructor Called
as a Function
- 15.5.2 The String Constructor
- 15.5.3 Properties of the String
Constructor
- 15.5.4 Properties of the String
Prototype Object
- 15.5.5 Properties of String
Instances
-
15.6 Boolean Objects
- 15.6.1 The Boolean Constructor Called
as a Function
- 15.6.2 The Boolean Constructor
- 15.6.3 Properties of the Boolean
Constructor
- 15.6.4 Properties of the Boolean
Prototype Object
- 15.6.5 Properties of Boolean
Instances
-
15.7 Number Objects
- 15.7.1 The Number Constructor Called
as a Function
- 15.7.2 The Number Constructor
- 15.7.3 Properties of the Number
Constructor
- 15.7.4 Properties of the Number
Prototype Object
- 15.7.5 Properties of Number
Instances
-
15.8 The Math Object
- 15.8.1 Value Properties of the Math
Object
- 15.8.2 Function Properties of the
Math Object
-
15.9 Date Objects
- 15.9.1 Overview of Date Objects and
Definitions of Internal Operators
- 15.9.2 The Date Constructor Called as
a Function
- 15.9.3 The Date Constructor
- 15.9.4 Properties of the Date
Constructor
- 15.9.5 Properties of the Date
Prototype Object
- 15.9.6 Properties of Date
Instances
-
15.10 RegExp (Regular Expression) Objects
- 15.10.1 Patterns
- 15.10.2 Pattern Semantics
- 15.10.3 The RegExp Constructor
Called as a Function
- 15.10.4 The RegExp Constructor
- 15.10.5 Properties of the RegExp
Constructor
- 15.10.6 Properties of the RegExp
Prototype Object
- 15.10.7 Properties of RegExp
Instances
-
15.11 Error Objects
- 15.11.1 The Error Constructor Called
as a Function
- 15.11.2 The Error Constructor
- 15.11.3 Properties of the Error
Constructor
- 15.11.4 Properties of the Error
Prototype Object
- 15.11.5 Properties of Error
Instances
- 15.11.6 Native Error Types Used in
This Standard
- 15.11.7 NativeError Object
Structure
- 16. Errors
- Annex A - Grammar Summary
- Annex B - Compatibility