ECMA-262 (12th Edition) ECMAScript 2021 Language Specification - page 3

 

  Главная      Manuals     ECMA-262 (12th Edition) ECMAScript 2021 Language Specification

 

Search            copyright infringement  

 

 

 

 

 

 

 

 

 

 

 

Content      ..     1      2      3      4      ..

 

 

 

ECMA-262 (12th Edition) ECMAScript 2021 Language Specification - page 3

 

 

10.1.4 [[PreventExtensions]] ( )

10.1.4.1 OrdinaryPreventExtensions ( 

O

 )

10.1.5 [[GetOwnProperty]] ( 

P

 )

10.1.5.1 OrdinaryGetOwnProperty ( 

O

P

 )

10.1.6 [[DefineOwnProperty]] ( 

P

Desc

 )

10.1.6.1 OrdinaryDefineOwnProperty ( 

O

P

Desc

 )

10.1.6.2 IsCompatiblePropertyDescriptor ( 

Extensible

Desc

Current

 )

10.1.6.3 ValidateAndApplyPropertyDescriptor ( 

O

P

extensible

Desc

current

 )

10.1.7 [[HasProperty]] ( 

P

 )

10.1.7.1 OrdinaryHasProperty ( 

O

P

 )

10.1.8 [[Get]] ( 

P

Receiver

 )

10.1.8.1 OrdinaryGet ( 

O

P

Receiver

 )

10.1.9 [[Set]] ( 

P

V

Receiver

 )

10.1.9.1 OrdinarySet ( 

O

P

V

Receiver

 )

10.1.9.2 OrdinarySetWithOwnDescriptor ( 

O

P

V

Receiver

ownDesc

 )

10.1.10 [[Delete]] ( 

P

 )

10.1.10.1 OrdinaryDelete ( 

O

P

 )

10.1.11 [[OwnPropertyKeys]] ( )

10.1.11.1 OrdinaryOwnPropertyKeys ( 

O

 )

10.1.12 OrdinaryObjectCreate ( 

proto

 [ , 

additionalInternalSlotsList

 ] )

10.1.13 OrdinaryCreateFromConstructor ( 

constructor

intrinsicDefaultProto

 [ , 

internalSlotsList

 ] )

10.1.14 GetPrototypeFromConstructor ( 

constructor

intrinsicDefaultProto

 )

10.1.15 RequireInternalSlot ( 

O

internalSlot

 )

10.2 ECMAScript Function Objects

10.2.1 [[Call]] ( 

thisArgument

argumentsList

 )

10.2.1.1 PrepareForOrdinaryCall ( 

F

newTarget

 )

10.2.1.2 OrdinaryCallBindThis ( 

F

calleeContext

thisArgument

 )

10.2.1.3 RS: EvaluateBody
10.2.1.4 OrdinaryCallEvaluateBody ( 

F

argumentsList

 )

10.2.2 [[Construct]] ( 

argumentsList

newTarget

 )

10.2.3 OrdinaryFunctionCreate ( 

functionPrototype

sourceText

ParameterList

Body

thisMode

Scope

 )

10.2.4 AddRestrictedFunctionProperties ( 

F

realm

 )

10.2.4.1 %ThrowTypeError% ( )

10.2.5 MakeConstructor ( 

F

 [ , 

writablePrototype

 [ , 

prototype

 ] ] )

10.2.6 MakeClassConstructor ( 

F

 )

10.2.7 MakeMethod ( 

F

homeObject

 )

10.2.8 SetFunctionName ( 

F

name

 [ , 

prefix

 ] )

10.2.9 SetFunctionLength ( 

F

length

 )

10.2.10 FunctionDeclarationInstantiation ( 

func

argumentsList

 )

10.3 Built-in Function Objects

10.3.1 [[Call]] ( 

thisArgument

argumentsList

 )

10.3.2 [[Construct]] ( 

argumentsList

newTarget

 )

10.3.3 CreateBuiltinFunction ( 

steps

length

name

internalSlotsList

 [ , 

realm

 [ , 

prototype

 [ , 

prefix

 ] ] ] )

10.4 Built-in Exotic Object Internal Methods and Slots

10.4.1 Bound Function Exotic Objects

10.4.1.1 [[Call]] ( 

thisArgument

argumentsList

 )

10.4.1.2 [[Construct]] ( 

argumentsList

newTarget

 )

10.4.1.3 BoundFunctionCreate ( 

targetFunction

boundThis

boundArgs

 )

10

10.4.2 Array Exotic Objects

10.4.2.1 [[DefineOwnProperty]] ( 

P

Desc

 )

10.4.2.2 ArrayCreate ( 

length

 [ , 

proto

 ] )

10.4.2.3 ArraySpeciesCreate ( 

originalArray

length

 )

10.4.2.4 ArraySetLength ( 

A

Desc

 )

10.4.3 String Exotic Objects

10.4.3.1 [[GetOwnProperty]] ( 

P

 )

10.4.3.2 [[DefineOwnProperty]] ( 

P

Desc

 )

10.4.3.3 [[OwnPropertyKeys]] ( )
10.4.3.4 StringCreate ( 

value

prototype

 )

10.4.3.5 StringGetOwnProperty ( 

S

P

 )

10.4.4 Arguments Exotic Objects

10.4.4.1 [[GetOwnProperty]] ( 

P

 )

10.4.4.2 [[DefineOwnProperty]] ( 

P

Desc

 )

10.4.4.3 [[Get]] ( 

P

Receiver

 )

10.4.4.4 [[Set]] ( 

P

V

Receiver

 )

10.4.4.5 [[Delete]] ( 

P

 )

10.4.4.6 CreateUnmappedArgumentsObject ( 

argumentsList

 )

10.4.4.7 CreateMappedArgumentsObject ( 

func

formals

argumentsList

env

 )

10.4.4.7.1 MakeArgGetter ( 

name

env

 )

10.4.4.7.2 MakeArgSetter ( 

name

env

 )

10.4.5 Integer-Indexed Exotic Objects

10.4.5.1 [[GetOwnProperty]] ( 

P

 )

10.4.5.2 [[HasProperty]] ( 

P

 )

10.4.5.3 [[DefineOwnProperty]] ( 

P

Desc

 )

10.4.5.4 [[Get]] ( 

P

Receiver

 )

10.4.5.5 [[Set]] ( 

P

V

Receiver

 )

10.4.5.6 [[Delete]] ( 

P

 )

10.4.5.7 [[OwnPropertyKeys]] ( )
10.4.5.8 IntegerIndexedObjectCreate ( 

prototype

 )

10.4.5.9 IsValidIntegerIndex ( 

O

index

 )

10.4.5.10 IntegerIndexedElementGet ( 

O

index

 )

10.4.5.11 IntegerIndexedElementSet ( 

O

index

value

 )

10.4.6 Module Namespace Exotic Objects

10.4.6.1 [[SetPrototypeOf]] ( 

V

 )

10.4.6.2 [[IsExtensible]] ( )
10.4.6.3 [[PreventExtensions]] ( )
10.4.6.4 [[GetOwnProperty]] ( 

P

 )

10.4.6.5 [[DefineOwnProperty]] ( 

P

Desc

 )

10.4.6.6 [[HasProperty]] ( 

P

 )

10.4.6.7 [[Get]] ( 

P

Receiver

 )

10.4.6.8 [[Set]] ( 

P

V

Receiver

 )

10.4.6.9 [[Delete]] ( 

P

 )

10.4.6.10 [[OwnPropertyKeys]] ( )
10.4.6.11 ModuleNamespaceCreate ( 

module

exports

 )

10.4.7 Immutable Prototype Exotic Objects

10.4.7.1 [[SetPrototypeOf]] ( 

V

 )

10.4.7.2 SetImmutablePrototype ( 

O

V

 )

11

10.5 Proxy Object Internal Methods and Internal Slots

10.5.1 [[GetPrototypeOf]] ( )
10.5.2 [[SetPrototypeOf]] ( 

V

 )

10.5.3 [[IsExtensible]] ( )
10.5.4 [[PreventExtensions]] ( )
10.5.5 [[GetOwnProperty]] ( 

P

 )

10.5.6 [[DefineOwnProperty]] ( 

P

Desc

 )

10.5.7 [[HasProperty]] ( 

P

 )

10.5.8 [[Get]] ( 

P

Receiver

 )

10.5.9 [[Set]] ( 

P

V

Receiver

 )

10.5.10 [[Delete]] ( 

P

 )

10.5.11 [[OwnPropertyKeys]] ( )
10.5.12 [[Call]] ( 

thisArgument

argumentsList

 )

10.5.13 [[Construct]] ( 

argumentsList

newTarget

 )

10.5.14 ProxyCreate ( 

target

handler

 )

11 ECMAScript Language: Source Code

11.1 Source Text

11.1.1 SS: UTF16EncodeCodePoint ( 

cp

 )

11.1.2 SS: CodePointsToString ( 

text

 )

11.1.3 SS: UTF16SurrogatePairToCodePoint ( 

lead

trail

 )

11.1.4 SS: CodePointAt ( 

string

position

 )

11.1.5 SS: StringToCodePoints ( 

string

 )

11.1.6 SS: ParseText ( 

sourceText

goalSymbol

 )

11.2 Types of Source Code

11.2.1 Directive Prologues and the Use Strict Directive
11.2.2 Strict Mode Code
11.2.3 Non-ECMAScript Functions

12 ECMAScript Language: Lexical Grammar

12.1 Unicode Format-Control Characters
12.2 White Space
12.3 Line Terminators
12.4 Comments
12.5 Tokens
12.6 Names and Keywords

12.6.1 Identifier Names

12.6.1.1 SS: Early Errors

12.6.2 Keywords and Reserved Words

12.7 Punctuators
12.8 Literals

12.8.1 Null Literals
12.8.2 Boolean Literals
12.8.3 Numeric Literals

12.8.3.1 SS: MV
12.8.3.2 SS: NumericValue

12.8.4 String Literals

12.8.4.1 SS: SV
12.8.4.2 SS: MV

12.8.5 Regular Expression Literals

12

12.8.5.1 SS: Early Errors
12.8.5.2 SS: BodyText
12.8.5.3 SS: FlagText

12.8.6 Template Literal Lexical Components

12.8.6.1 SS: TV and TRV

12.9 Automatic Semicolon Insertion

12.9.1 Rules of Automatic Semicolon Insertion
12.9.2 Examples of Automatic Semicolon Insertion
12.9.3 Interesting Cases of Automatic Semicolon Insertion

12.9.3.1 Interesting Cases of Automatic Semicolon Insertion in Statement Lists
12.9.3.2 Cases of Automatic Semicolon Insertion and “[no 

LineTerminator

 here]”

12.9.3.2.1 List of Grammar Productions with Optional Operands and “[no 

LineTerminator

 here]”

13 ECMAScript Language: Expressions

13.1 Identifiers

13.1.1 SS: Early Errors
13.1.2 SS: StringValue
13.1.3 RS: Evaluation

13.2 Primary Expression

13.2.1 Semantics

13.2.1.1 SS: CoveredParenthesizedExpression

13.2.2 The 

this

this

 Keyword

13.2.2.1 RS: Evaluation

13.2.3 Identifier Reference
13.2.4 Literals

13.2.4.1 RS: Evaluation

13.2.5 Array Initializer

13.2.5.1 RS: ArrayAccumulation
13.2.5.2 RS: Evaluation

13.2.6 Object Initializer

13.2.6.1 SS: Early Errors
13.2.6.2 SS: IsComputedPropertyKey
13.2.6.3 SS: PropertyNameList
13.2.6.4 RS: Evaluation
13.2.6.5 RS: PropertyDefinitionEvaluation

13.2.7 Function Defining Expressions
13.2.8 Regular Expression Literals

13.2.8.1 SS: Early Errors
13.2.8.2 SS: IsValidRegularExpressionLiteral ( 

literal

 )

13.2.8.3 RS: Evaluation

13.2.9 Template Literals

13.2.9.1 SS: Early Errors
13.2.9.2 SS: TemplateStrings
13.2.9.3 GetTemplateObject ( 

templateLiteral

 )

13.2.9.4 RS: SubstitutionEvaluation
13.2.9.5 RS: Evaluation

13.2.10 The Grouping Operator

13.2.10.1 SS: Early Errors
13.2.10.2 RS: Evaluation

13

13.3 Left-Hand-Side Expressions

13.3.1 Static Semantics

13.3.1.1 SS: Early Errors
13.3.1.2 SS: CoveredCallExpression

13.3.2 Property Accessors

13.3.2.1 RS: Evaluation

13.3.3 EvaluatePropertyAccessWithExpressionKey ( 

baseValue

expression

strict

 )

13.3.4 EvaluatePropertyAccessWithIdentifierKey ( 

baseValue

identifierName

strict

 )

13.3.5 The 

new

new

 Operator

13.3.5.1 RS: Evaluation

13.3.5.1.1 EvaluateNew ( 

constructExpr

arguments

 )

13.3.6 Function Calls

13.3.6.1 RS: Evaluation
13.3.6.2 EvaluateCall ( 

func

ref

arguments

tailPosition

 )

13.3.7 The 

super

super

 Keyword

13.3.7.1 RS: Evaluation
13.3.7.2 GetSuperConstructor ( )
13.3.7.3 MakeSuperPropertyReference ( 

actualThis

propertyKey

strict

 )

13.3.8 Argument Lists

13.3.8.1 RS: ArgumentListEvaluation

13.3.9 Optional Chains

13.3.9.1 RS: Evaluation
13.3.9.2 RS: ChainEvaluation

13.3.10 Import Calls

13.3.10.1 RS: Evaluation

13.3.11 Tagged Templates

13.3.11.1 RS: Evaluation

13.3.12 Meta Properties

13.3.12.1 RS: Evaluation

13.3.12.1.1 HostGetImportMetaProperties ( 

moduleRecord

 )

13.3.12.1.2 HostFinalizeImportMeta ( 

importMeta

moduleRecord

 )

13.4 Update Expressions

13.4.1 SS: Early Errors
13.4.2 Postfix Increment Operator

13.4.2.1 RS: Evaluation

13.4.3 Postfix Decrement Operator

13.4.3.1 RS: Evaluation

13.4.4 Prefix Increment Operator

13.4.4.1 RS: Evaluation

13.4.5 Prefix Decrement Operator

13.4.5.1 RS: Evaluation

13.5 Unary Operators

13.5.1 The 

delete

delete

 Operator

13.5.1.1 SS: Early Errors
13.5.1.2 RS: Evaluation

13.5.2 The 

void

void

 Operator

13.5.2.1 RS: Evaluation

13.5.3 The 

typeof

typeof

 Operator

14

13.5.3.1 RS: Evaluation

13.5.4 Unary 

++

 Operator

13.5.4.1 RS: Evaluation

13.5.5 Unary 

--

 Operator

13.5.5.1 RS: Evaluation

13.5.6 Bitwise NOT Operator ( 

~~

 )

13.5.6.1 RS: Evaluation

13.5.7 Logical NOT Operator ( 

!!

 )

13.5.7.1 RS: Evaluation

13.6 Exponentiation Operator

13.6.1 RS: Evaluation

13.7 Multiplicative Operators

13.7.1 RS: Evaluation

13.8 Additive Operators

13.8.1 The Addition Operator ( 

++

 )

13.8.1.1 RS: Evaluation

13.8.2 The Subtraction Operator ( 

--

 )

13.8.2.1 RS: Evaluation

13.9 Bitwise Shift Operators

13.9.1 The Left Shift Operator ( 

<<

<<

 )

13.9.1.1 RS: Evaluation

13.9.2 The Signed Right Shift Operator ( 

>>

>>

 )

13.9.2.1 RS: Evaluation

13.9.3 The Unsigned Right Shift Operator ( 

>>>

>>>

 )

13.9.3.1 RS: Evaluation

13.10 Relational Operators

13.10.1 RS: Evaluation
13.10.2 InstanceofOperator ( 

V

target

 )

13.11 Equality Operators

13.11.1 RS: Evaluation

13.12 Binary Bitwise Operators

13.12.1 RS: Evaluation

13.13 Binary Logical Operators

13.13.1 RS: Evaluation

13.14 Conditional Operator ( 

? :

? :

 )

13.14.1 RS: Evaluation

13.15 Assignment Operators

13.15.1 SS: Early Errors
13.15.2 RS: Evaluation
13.15.3 ApplyStringOrNumericBinaryOperator ( 

lval

opText

rval

 )

13.15.4 EvaluateStringOrNumericBinaryExpression ( 

leftOperand

opText

rightOperand

 )

13.15.5 Destructuring Assignment

13.15.5.1 SS: Early Errors
13.15.5.2 RS: DestructuringAssignmentEvaluation
13.15.5.3 RS: PropertyDestructuringAssignmentEvaluation
13.15.5.4 RS: RestDestructuringAssignmentEvaluation
13.15.5.5 RS: IteratorDestructuringAssignmentEvaluation

15

13.15.5.6 RS: KeyedDestructuringAssignmentEvaluation

13.16 Comma Operator ( 

,,

 )

13.16.1 RS: Evaluation

14 ECMAScript Language: Statements and Declarations

14.1 Statement Semantics

14.1.1 RS: Evaluation

14.2 Block

14.2.1 SS: Early Errors
14.2.2 RS: Evaluation
14.2.3 BlockDeclarationInstantiation ( 

code

env

 )

14.3 Declarations and the Variable Statement

14.3.1 Let and Const Declarations

14.3.1.1 SS: Early Errors
14.3.1.2 RS: Evaluation

14.3.2 Variable Statement

14.3.2.1 RS: Evaluation

14.3.3 Destructuring Binding Patterns

14.3.3.1 RS: PropertyBindingInitialization
14.3.3.2 RS: RestBindingInitialization
14.3.3.3 RS: KeyedBindingInitialization

14.4 Empty Statement

14.4.1 RS: Evaluation

14.5 Expression Statement

14.5.1 RS: Evaluation

14.6 The 

if

if

 Statement

14.6.1 SS: Early Errors
14.6.2 RS: Evaluation

14.7 Iteration Statements

14.7.1 Semantics

14.7.1.1 LoopContinues ( 

completion

labelSet

 )

14.7.1.2 RS: LoopEvaluation

14.7.2 The 

do

do

-

while

while

 Statement

14.7.2.1 SS: Early Errors
14.7.2.2 RS: DoWhileLoopEvaluation

14.7.3 The 

while

while

 Statement

14.7.3.1 SS: Early Errors
14.7.3.2 RS: WhileLoopEvaluation

14.7.4 The 

for

for

 Statement

14.7.4.1 SS: Early Errors
14.7.4.2 RS: ForLoopEvaluation
14.7.4.3 ForBodyEvaluation ( 

test

increment

stmt

perIterationBindings

labelSet

 )

14.7.4.4 CreatePerIterationEnvironment ( 

perIterationBindings

 )

14.7.5 The 

for

for

-

in

in

for

for

-

of

of

, and 

for

for

-

await

await

-

of

of

 Statements

14.7.5.1 SS: Early Errors
14.7.5.2 SS: IsDestructuring
14.7.5.3 RS: ForDeclarationBindingInitialization
14.7.5.4 RS: ForDeclarationBindingInstantiation

16

14.7.5.5 RS: ForInOfLoopEvaluation
14.7.5.6 ForIn/OfHeadEvaluation ( 

uninitializedBoundNames

expr

iterationKind

 )

14.7.5.7 ForIn/OfBodyEvaluation ( 

lhs

stmt

iteratorRecord

iterationKind

lhsKind

labelSet

 [ , 

iteratorKind

 ] )

14.7.5.8 RS: Evaluation
14.7.5.9 EnumerateObjectProperties ( 

O

 )

14.7.5.10 For-In Iterator Objects

14.7.5.10.1 CreateForInIterator ( 

object

 )

14.7.5.10.2 The %ForInIteratorPrototype% Object

14.7.5.10.2.1 %ForInIteratorPrototype%.next ( )

14.7.5.10.3 Properties of For-In Iterator Instances

14.8 The 

continue

continue

 Statement

14.8.1 SS: Early Errors
14.8.2 RS: Evaluation

14.9 The 

break

break

 Statement

14.9.1 SS: Early Errors
14.9.2 RS: Evaluation

14.10 The 

return

return

 Statement

14.10.1 RS: Evaluation

14.11 The 

with

with

 Statement

14.11.1 SS: Early Errors
14.11.2 RS: Evaluation

14.12 The 

switch

switch

 Statement

14.12.1 SS: Early Errors
14.12.2 RS: CaseBlockEvaluation
14.12.3 CaseClauseIsSelected ( 

C

input

 )

14.12.4 RS: Evaluation

14.13 Labelled Statements

14.13.1 SS: Early Errors
14.13.2 SS: IsLabelledFunction ( 

stmt

 )

14.13.3 RS: Evaluation
14.13.4 RS: LabelledEvaluation

14.14 The 

throw

throw

 Statement

14.14.1 RS: Evaluation

14.15 The 

try

try

 Statement

14.15.1 SS: Early Errors
14.15.2 RS: CatchClauseEvaluation
14.15.3 RS: Evaluation

14.16 The 

debugger

debugger

 Statement

14.16.1 RS: Evaluation

15 ECMAScript Language: Functions and Classes

15.1 Parameter Lists

15.1.1 SS: Early Errors
15.1.2 SS: ContainsExpression
15.1.3 SS: IsSimpleParameterList
15.1.4 SS: HasInitializer
15.1.5 SS: ExpectedArgumentCount

15.2 Function Definitions

17

15.2.1 SS: Early Errors
15.2.2 SS: FunctionBodyContainsUseStrict
15.2.3 RS: EvaluateFunctionBody
15.2.4 RS: InstantiateOrdinaryFunctionObject
15.2.5 RS: InstantiateOrdinaryFunctionExpression
15.2.6 RS: Evaluation

15.3 Arrow Function Definitions

15.3.1 SS: Early Errors
15.3.2 SS: ConciseBodyContainsUseStrict
15.3.3 SS: CoveredFormalsList
15.3.4 RS: EvaluateConciseBody
15.3.5 RS: InstantiateArrowFunctionExpression
15.3.6 RS: Evaluation

15.4 Method Definitions

15.4.1 SS: Early Errors
15.4.2 SS: HasDirectSuper
15.4.3 SS: SpecialMethod
15.4.4 RS: DefineMethod
15.4.5 RS: MethodDefinitionEvaluation

15.5 Generator Function Definitions

15.5.1 SS: Early Errors
15.5.2 RS: EvaluateGeneratorBody
15.5.3 RS: InstantiateGeneratorFunctionObject
15.5.4 RS: InstantiateGeneratorFunctionExpression
15.5.5 RS: Evaluation

15.6 Async Generator Function Definitions

15.6.1 SS: Early Errors
15.6.2 RS: EvaluateAsyncGeneratorBody
15.6.3 RS: InstantiateAsyncGeneratorFunctionObject
15.6.4 RS: InstantiateAsyncGeneratorFunctionExpression
15.6.5 RS: Evaluation

15.7 Class Definitions

15.7.1 SS: Early Errors
15.7.2 SS: ClassElementKind
15.7.3 SS: ConstructorMethod
15.7.4 SS: IsStatic
15.7.5 SS: NonConstructorMethodDefinitions
15.7.6 SS: PrototypePropertyNameList
15.7.7 RS: ClassDefinitionEvaluation

15.7.7.1 Default Constructor Functions

15.7.8 RS: BindingClassDeclarationEvaluation
15.7.9 RS: Evaluation

15.8 Async Function Definitions

15.8.1 SS: Early Errors
15.8.2 RS: InstantiateAsyncFunctionObject
15.8.3 RS: InstantiateAsyncFunctionExpression
15.8.4 RS: EvaluateAsyncFunctionBody
15.8.5 RS: Evaluation

18

15.9 Async Arrow Function Definitions

15.9.1 SS: Early Errors
15.9.2 SS: CoveredAsyncArrowHead
15.9.3 SS: AsyncConciseBodyContainsUseStrict
15.9.4 RS: EvaluateAsyncConciseBody
15.9.5 RS: InstantiateAsyncArrowFunctionExpression
15.9.6 RS: Evaluation

15.10 Tail Position Calls

15.10.1 SS: IsInTailPosition ( 

call

 )

15.10.2 SS: HasCallInTailPosition

15.10.2.1 Statement Rules
15.10.2.2 Expression Rules

15.10.3 PrepareForTailCall ( )

16 ECMAScript Language: Scripts and Modules

16.1 Scripts

16.1.1 SS: Early Errors
16.1.2 SS: IsStrict
16.1.3 RS: Evaluation
16.1.4 Script Records
16.1.5 ParseScript ( 

sourceText

realm

hostDefined

 )

16.1.6 ScriptEvaluation ( 

scriptRecord

 )

16.1.7 GlobalDeclarationInstantiation ( 

script

env

 )

16.2 Modules

16.2.1 Module Semantics

16.2.1.1 SS: Early Errors
16.2.1.2 SS: ImportedLocalNames ( 

importEntries

 )

16.2.1.3 SS: ModuleRequests
16.2.1.4 Abstract Module Records
16.2.1.5 Cyclic Module Records

16.2.1.5.1 Link ( ) Concrete Method

16.2.1.5.1.1 InnerModuleLinking ( 

module

stack

index

 )

16.2.1.5.2 Evaluate ( ) Concrete Method

16.2.1.5.2.1 InnerModuleEvaluation ( 

module

stack

index

 )

16.2.1.5.3 Example Cyclic Module Record Graphs

16.2.1.6 Source Text Module Records

16.2.1.6.1 ParseModule ( 

sourceText

realm

hostDefined

 )

16.2.1.6.2 GetExportedNames ( [ 

exportStarSet

 ] ) Concrete Method

16.2.1.6.3 ResolveExport ( 

exportName

 [ , 

resolveSet

 ] ) Concrete Method

16.2.1.6.4 InitializeEnvironment ( ) Concrete Method
16.2.1.6.5 ExecuteModule ( ) Concrete Method

16.2.1.7 HostResolveImportedModule ( 

referencingScriptOrModule

specifier

 )

16.2.1.8 HostImportModuleDynamically ( 

referencingScriptOrModule

specifier

promiseCapability

 )

16.2.1.9 FinishDynamicImport ( 

referencingScriptOrModule

specifier

promiseCapability

completion

 )

16.2.1.10 GetModuleNamespace ( 

module

 )

16.2.1.11 RS: Evaluation

16.2.2 Imports

16.2.2.1 SS: Early Errors
16.2.2.2 SS: ImportEntries

19

16.2.2.3 SS: ImportEntriesForModule

16.2.3 Exports

16.2.3.1 SS: Early Errors
16.2.3.2 SS: ExportedBindings
16.2.3.3 SS: ExportedNames
16.2.3.4 SS: ExportEntries
16.2.3.5 SS: ExportEntriesForModule
16.2.3.6 SS: ReferencedBindings
16.2.3.7 RS: Evaluation

17 Error Handling and Language Extensions

17.1 Forbidden Extensions

18 ECMAScript Standard Built-in Objects
19 The Global Object

19.1 Value Properties of the Global Object

19.1.1 globalThis
19.1.2 Infinity
19.1.3 NaN
19.1.4 undefined

19.2 Function Properties of the Global Object

19.2.1 eval ( 

x

 )

19.2.1.1 PerformEval ( 

x

callerRealm

strictCaller

direct

 )

19.2.1.2 HostEnsureCanCompileStrings ( 

callerRealm

calleeRealm

 )

19.2.1.3 EvalDeclarationInstantiation ( 

body

varEnv

lexEnv

strict

 )

19.2.2 isFinite ( 

number

 )

19.2.3 isNaN ( 

number

 )

19.2.4 parseFloat ( 

string

 )

19.2.5 parseInt ( 

string

radix

 )

19.2.6 URI Handling Functions

19.2.6.1 URI Syntax and Semantics

19.2.6.1.1 Encode ( 

string

unescapedSet

 )

19.2.6.1.2 Decode ( 

string

reservedSet

 )

19.2.6.2 decodeURI ( 

encodedURI

 )

19.2.6.3 decodeURIComponent ( 

encodedURIComponent

 )

19.2.6.4 encodeURI ( 

uri

 )

19.2.6.5 encodeURIComponent ( 

uriComponent

 )

19.3 Constructor Properties of the Global Object

19.3.1 Array ( . . . )
19.3.2 ArrayBuffer ( . . . )
19.3.3 BigInt ( . . . )
19.3.4 BigInt64Array ( . . . )
19.3.5 BigUint64Array ( . . . )
19.3.6 Boolean ( . . . )
19.3.7 DataView ( . . . )
19.3.8 Date ( . . . )
19.3.9 Error ( . . . )
19.3.10 EvalError ( . . . )
19.3.11 FinalizationRegistry ( . . . )
19.3.12 Float32Array ( . . . )

20

19.3.13 Float64Array ( . . . )
19.3.14 Function ( . . . )
19.3.15 Int8Array ( . . . )
19.3.16 Int16Array ( . . . )
19.3.17 Int32Array ( . . . )
19.3.18 Map ( . . . )
19.3.19 Number ( . . . )
19.3.20 Object ( . . . )
19.3.21 Promise ( . . . )
19.3.22 Proxy ( . . . )
19.3.23 RangeError ( . . . )
19.3.24 ReferenceError ( . . . )
19.3.25 RegExp ( . . . )
19.3.26 Set ( . . . )
19.3.27 SharedArrayBuffer ( . . . )
19.3.28 String ( . . . )
19.3.29 Symbol ( . . . )
19.3.30 SyntaxError ( . . . )
19.3.31 TypeError ( . . . )
19.3.32 Uint8Array ( . . . )
19.3.33 Uint8ClampedArray ( . . . )
19.3.34 Uint16Array ( . . . )
19.3.35 Uint32Array ( . . . )
19.3.36 URIError ( . . . )
19.3.37 WeakMap ( . . . )
19.3.38 WeakRef ( . . . )
19.3.39 WeakSet ( . . . )

19.4 Other Properties of the Global Object

19.4.1 Atomics
19.4.2 JSON
19.4.3 Math
19.4.4 Reflect

20 Fundamental Objects

20.1 Object Objects

20.1.1 The Object Constructor

20.1.1.1 Object ( [ 

value

 ] )

20.1.2 Properties of the Object Constructor

20.1.2.1 Object.assign ( 

target

, ...

sources

 )

20.1.2.2 Object.create ( 

O

Properties

 )

20.1.2.3 Object.defineProperties ( 

O

Properties

 )

20.1.2.3.1 ObjectDefineProperties ( 

O

Properties

 )

20.1.2.4 Object.defineProperty ( 

O

P

Attributes

 )

20.1.2.5 Object.entries ( 

O

 )

20.1.2.6 Object.freeze ( 

O

 )

20.1.2.7 Object.fromEntries ( 

iterable

 )

20.1.2.7.1 CreateDataPropertyOnObject Functions

20.1.2.8 Object.getOwnPropertyDescriptor ( 

O

P

 )

20.1.2.9 Object.getOwnPropertyDescriptors ( 

O

 )

21

20.1.2.10 Object.getOwnPropertyNames ( 

O

 )

20.1.2.11 Object.getOwnPropertySymbols ( 

O

 )

20.1.2.11.1 GetOwnPropertyKeys ( 

O

type

 )

20.1.2.12 Object.getPrototypeOf ( 

O

 )

20.1.2.13 Object.is ( 

value1

value2

 )

20.1.2.14 Object.isExtensible ( 

O

 )

20.1.2.15 Object.isFrozen ( 

O

 )

20.1.2.16 Object.isSealed ( 

O

 )

20.1.2.17 Object.keys ( 

O

 )

20.1.2.18 Object.preventExtensions ( 

O

 )

20.1.2.19 Object.prototype
20.1.2.20 Object.seal ( 

O

 )

20.1.2.21 Object.setPrototypeOf ( 

O

proto

 )

20.1.2.22 Object.values ( 

O

 )

20.1.3 Properties of the Object Prototype Object

20.1.3.1 Object.prototype.constructor
20.1.3.2 Object.prototype.hasOwnProperty ( 

V

 )

20.1.3.3 Object.prototype.isPrototypeOf ( 

V

 )

20.1.3.4 Object.prototype.propertyIsEnumerable ( 

V

 )

20.1.3.5 Object.prototype.toLocaleString ( [ 

reserved1

 [ , 

reserved2

 ] ] )

20.1.3.6 Object.prototype.toString ( )
20.1.3.7 Object.prototype.valueOf ( )

20.1.4 Properties of Object Instances

20.2 Function Objects

20.2.1 The Function Constructor

20.2.1.1 Function ( 

p1

p2

, … , 

pn

body

 )

20.2.1.1.1 CreateDynamicFunction ( 

constructor

newTarget

kind

args

 )

20.2.2 Properties of the Function Constructor

20.2.2.1 Function.length
20.2.2.2 Function.prototype

20.2.3 Properties of the Function Prototype Object

20.2.3.1 Function.prototype.apply ( 

thisArg

argArray

 )

20.2.3.2 Function.prototype.bind ( 

thisArg

, ...

args

 )

20.2.3.3 Function.prototype.call ( 

thisArg

, ...

args

 )

20.2.3.4 Function.prototype.constructor
20.2.3.5 Function.prototype.toString ( )
20.2.3.6 Function.prototype [ @@hasInstance ] ( 

V

 )

20.2.4 Function Instances

20.2.4.1 length
20.2.4.2 name
20.2.4.3 prototype

20.2.5 HostHasSourceTextAvailable ( 

func

 )

20.3 Boolean Objects

20.3.1 The Boolean Constructor

20.3.1.1 Boolean ( 

value

 )

20.3.2 Properties of the Boolean Constructor

20.3.2.1 Boolean.prototype

20.3.3 Properties of the Boolean Prototype Object

22

20.3.3.1 Boolean.prototype.constructor
20.3.3.2 Boolean.prototype.toString ( )
20.3.3.3 Boolean.prototype.valueOf ( )

20.3.4 Properties of Boolean Instances

20.4 Symbol Objects

20.4.1 The Symbol Constructor

20.4.1.1 Symbol ( [ 

description

 ] )

20.4.2 Properties of the Symbol Constructor

20.4.2.1 Symbol.asyncIterator
20.4.2.2 Symbol.for ( 

key

 )

20.4.2.3 Symbol.hasInstance
20.4.2.4 Symbol.isConcatSpreadable
20.4.2.5 Symbol.iterator
20.4.2.6 Symbol.keyFor ( 

sym

 )

20.4.2.7 Symbol.match
20.4.2.8 Symbol.matchAll
20.4.2.9 Symbol.prototype
20.4.2.10 Symbol.replace
20.4.2.11 Symbol.search
20.4.2.12 Symbol.species
20.4.2.13 Symbol.split
20.4.2.14 Symbol.toPrimitive
20.4.2.15 Symbol.toStringTag
20.4.2.16 Symbol.unscopables

20.4.3 Properties of the Symbol Prototype Object

20.4.3.1 Symbol.prototype.constructor
20.4.3.2 get Symbol.prototype.description
20.4.3.3 Symbol.prototype.toString ( )

20.4.3.3.1 SymbolDescriptiveString ( 

sym

 )

20.4.3.4 Symbol.prototype.valueOf ( )
20.4.3.5 Symbol.prototype [ @@toPrimitive ] ( 

hint

 )

20.4.3.6 Symbol.prototype [ @@toStringTag ]

20.4.4 Properties of Symbol Instances

20.5 Error Objects

20.5.1 The Error Constructor

20.5.1.1 Error ( 

message

 )

20.5.2 Properties of the Error Constructor

20.5.2.1 Error.prototype

20.5.3 Properties of the Error Prototype Object

20.5.3.1 Error.prototype.constructor
20.5.3.2 Error.prototype.message
20.5.3.3 Error.prototype.name
20.5.3.4 Error.prototype.toString ( )

20.5.4 Properties of Error Instances
20.5.5 Native Error Types Used in This Standard

20.5.5.1 EvalError
20.5.5.2 RangeError
20.5.5.3 ReferenceError

23

20.5.5.4 SyntaxError
20.5.5.5 TypeError
20.5.5.6 URIError

20.5.6 

NativeError

 Object Structure

20.5.6.1 The 

NativeError

 Constructors

20.5.6.1.1 

NativeError

 ( 

message

 )

20.5.6.2 Properties of the 

NativeError

 Constructors

20.5.6.2.1 

NativeError

.prototype

20.5.6.3 Properties of the 

NativeError

 Prototype Objects

20.5.6.3.1 

NativeError

.prototype.constructor

20.5.6.3.2 

NativeError

.prototype.message

20.5.6.3.3 

NativeError

.prototype.name

20.5.6.4 Properties of 

NativeError

 Instances

20.5.7 AggregateError Objects

20.5.7.1 The AggregateError Constructor

20.5.7.1.1 AggregateError ( 

errors

message

 )

20.5.7.2 Properties of the AggregateError Constructor

20.5.7.2.1 AggregateError.prototype

20.5.7.3 Properties of the AggregateError Prototype Object

20.5.7.3.1 AggregateError.prototype.constructor
20.5.7.3.2 AggregateError.prototype.message
20.5.7.3.3 AggregateError.prototype.name

20.5.7.4 Properties of AggregateError Instances

21 Numbers and Dates

21.1 Number Objects

21.1.1 The Number Constructor

21.1.1.1 Number ( 

value

 )

21.1.2 Properties of the Number Constructor

21.1.2.1 Number.EPSILON
21.1.2.2 Number.isFinite ( 

number

 )

21.1.2.3 Number.isInteger ( 

number

 )

21.1.2.4 Number.isNaN ( 

number

 )

21.1.2.5 Number.isSafeInteger ( 

number

 )

21.1.2.6 Number.MAX_SAFE_INTEGER
21.1.2.7 Number.MAX_VALUE
21.1.2.8 Number.MIN_SAFE_INTEGER
21.1.2.9 Number.MIN_VALUE
21.1.2.10 Number.NaN
21.1.2.11 Number.NEGATIVE_INFINITY
21.1.2.12 Number.parseFloat ( 

string

 )

21.1.2.13 Number.parseInt ( 

string

radix

 )

21.1.2.14 Number.POSITIVE_INFINITY
21.1.2.15 Number.prototype

21.1.3 Properties of the Number Prototype Object

21.1.3.1 Number.prototype.constructor
21.1.3.2 Number.prototype.toExponential ( 

fractionDigits

 )

21.1.3.3 Number.prototype.toFixed ( 

fractionDigits

 )

21.1.3.4 Number.prototype.toLocaleString ( [ 

reserved1

 [ , 

reserved2

 ] ] )

24

21.1.3.5 Number.prototype.toPrecision ( 

precision

 )

21.1.3.6 Number.prototype.toString ( [ 

radix

 ] )

21.1.3.7 Number.prototype.valueOf ( )

21.1.4 Properties of Number Instances

21.2 BigInt Objects

21.2.1 The BigInt Constructor

21.2.1.1 BigInt ( 

value

 )

21.2.1.1.1 NumberToBigInt ( 

number

 )

21.2.2 Properties of the BigInt Constructor

21.2.2.1 BigInt.asIntN ( 

bits

bigint

 )

21.2.2.2 BigInt.asUintN ( 

bits

bigint

 )

21.2.2.3 BigInt.prototype

21.2.3 Properties of the BigInt Prototype Object

21.2.3.1 BigInt.prototype.constructor
21.2.3.2 BigInt.prototype.toLocaleString ( [ 

reserved1

 [ , 

reserved2

 ] ] )

21.2.3.3 BigInt.prototype.toString ( [ 

radix

 ] )

21.2.3.4 BigInt.prototype.valueOf ( )
21.2.3.5 BigInt.prototype [ @@toStringTag ]

21.3 The Math Object

21.3.1 Value Properties of the Math Object

21.3.1.1 Math.E
21.3.1.2 Math.LN10
21.3.1.3 Math.LN2
21.3.1.4 Math.LOG10E
21.3.1.5 Math.LOG2E
21.3.1.6 Math.PI
21.3.1.7 Math.SQRT1_2
21.3.1.8 Math.SQRT2
21.3.1.9 Math [ @@toStringTag ]

21.3.2 Function Properties of the Math Object

21.3.2.1 Math.abs ( 

x

 )

21.3.2.2 Math.acos ( 

x

 )

21.3.2.3 Math.acosh ( 

x

 )

21.3.2.4 Math.asin ( 

x

 )

21.3.2.5 Math.asinh ( 

x

 )

21.3.2.6 Math.atan ( 

x

 )

21.3.2.7 Math.atanh ( 

x

 )

21.3.2.8 Math.atan2 ( 

y

x

 )

21.3.2.9 Math.cbrt ( 

x

 )

21.3.2.10 Math.ceil ( 

x

 )

21.3.2.11 Math.clz32 ( 

x

 )

21.3.2.12 Math.cos ( 

x

 )

21.3.2.13 Math.cosh ( 

x

 )

21.3.2.14 Math.exp ( 

x

 )

21.3.2.15 Math.expm1 ( 

x

 )

21.3.2.16 Math.floor ( 

x

 )

21.3.2.17 Math.fround ( 

x

 )

21.3.2.18 Math.hypot ( ...

args

 )

25

 

 

 

 

 

 

 

 

Content      ..     1      2      3      4      ..