Name Description Size
ary-init-iter-close.js --- description: Iterator is closed when not exhausted by pattern evaluation (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingPattern : ArrayBindingPattern [...] 4. If iteratorRecord.[[done]] is false, return ? IteratorClose(iterator, result). [...] --- 1304
ary-init-iter-get-err-array-prototype.js --- description: Abrupt completion returned by GetIterator (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. Runtime Semantics: BindingInitialization BindingPattern : ArrayBindingPattern 1. Let iteratorRecord be ? GetIterator(value). GetIterator ( obj [ , hint [ , method ] ] ) [...] 4. Let iterator be ? Call(method, obj). Call ( F, V [ , argumentsList ] ) [...] 2. If IsCallable(F) is false, throw a TypeError exception. --- 1266
ary-init-iter-get-err.js --- description: Abrupt completion returned by GetIterator (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingPattern : ArrayBindingPattern 1. Let iterator be GetIterator(value). 2. ReturnIfAbrupt(iterator). --- 1101
ary-init-iter-no-close.js --- description: Iterator is not closed when exhausted by pattern evaluation (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingPattern : ArrayBindingPattern [...] 4. If iteratorRecord.[[done]] is false, return ? IteratorClose(iterator, result). [...] --- 1306
ary-name-iter-val.js --- description: SingleNameBinding with normal value iteration (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[done]] to true. e. Else, [...] i. Let v be IteratorValue(next). ii. If v is an abrupt completion, set iteratorRecord.[[done]] to true. iii. ReturnIfAbrupt(v). 5. If iteratorRecord.[[done]] is true, let v be undefined. [...] 8. Return InitializeReferencedBinding(lhs, v). --- 1616
ary-ptrn-elem-ary-elem-init.js --- description: BindingElement with array binding pattern and initializer is used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1389
ary-ptrn-elem-ary-elem-iter.js --- description: BindingElement with array binding pattern and initializer is not used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt 1. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). [...] e. Else, i. Let v be IteratorValue(next). [...] 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1360
ary-ptrn-elem-ary-elision-init.js --- description: BindingElement with array binding pattern and initializer is used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1466
ary-ptrn-elem-ary-elision-iter.js --- description: BindingElement with array binding pattern and initializer is not used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt 1. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). [...] e. Else, i. Let v be IteratorValue(next). [...] 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1373
ary-ptrn-elem-ary-empty-init.js --- description: BindingElement with array binding pattern and initializer is used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1508
ary-ptrn-elem-ary-empty-iter.js --- description: BindingElement with array binding pattern and initializer is not used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt 1. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). [...] e. Else, i. Let v be IteratorValue(next). [...] 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1351
ary-ptrn-elem-ary-rest-init.js --- description: BindingElement with array binding pattern and initializer is used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1505
ary-ptrn-elem-ary-rest-iter.js --- description: BindingElement with array binding pattern and initializer is not used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt 1. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). [...] e. Else, i. Let v be IteratorValue(next). [...] 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1550
ary-ptrn-elem-ary-val-null.js --- description: Nested array destructuring with a null value (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPattern Initializeropt 1. If iteratorRecord.[[done]] is false, then [...] e. Else i. Let v be IteratorValue(next). [...] 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingPattern : ArrayBindingPattern 1. Let iterator be GetIterator(value). 2. ReturnIfAbrupt(iterator). --- 1388
ary-ptrn-elem-id-init-exhausted.js --- description: Destructuring initializer with an exhausted iterator (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 5. If iteratorRecord.[[done]] is true, let v be undefined. 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1320
ary-ptrn-elem-id-init-fn-name-arrow.js --- description: SingleNameBinding does assign name to arrow functions (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). d. If IsAnonymousFunctionDefinition(Initializer) is true, then [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1388
ary-ptrn-elem-id-init-fn-name-class.js --- description: SingleNameBinding assigns `name` to "anonymous" classes (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). d. If IsAnonymousFunctionDefinition(Initializer) is true, then [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1521
ary-ptrn-elem-id-init-fn-name-cover.js --- description: SingleNameBinding does assign name to "anonymous" functions "through" cover grammar (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). d. If IsAnonymousFunctionDefinition(Initializer) is true, then [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1499
ary-ptrn-elem-id-init-fn-name-fn.js --- description: SingleNameBinding assigns name to "anonymous" functions (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). d. If IsAnonymousFunctionDefinition(Initializer) is true, then [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1445
ary-ptrn-elem-id-init-fn-name-gen.js --- description: SingleNameBinding assigns name to "anonymous" generator functions (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). d. If IsAnonymousFunctionDefinition(Initializer) is true, then [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1477
ary-ptrn-elem-id-init-hole.js --- description: Destructuring initializer with a "hole" (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1251
ary-ptrn-elem-id-init-skipped.js --- description: Destructuring initializer is not evaluated when value is not `undefined` (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1405
ary-ptrn-elem-id-init-throws.js --- description: Destructuring initializer returns an abrupt completion (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). --- 1230
ary-ptrn-elem-id-init-undef.js --- description: Destructuring initializer with an undefined value (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). [...] 7. If environment is undefined, return PutValue(lhs, v). 8. Return InitializeReferencedBinding(lhs, v). --- 1259
ary-ptrn-elem-id-init-unresolvable.js --- description: Destructuring initializer is an unresolvable reference (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). 6.2.3.1 GetValue (V) 1. ReturnIfAbrupt(V). 2. If Type(V) is not Reference, return V. 3. Let base be GetBase(V). 4. If IsUnresolvableReference(V), throw a ReferenceError exception. --- 1410
ary-ptrn-elem-id-iter-complete.js --- description: SingleNameBinding when value iteration completes (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[done]] to true. e. Else, [...] 5. If iteratorRecord.[[done]] is true, let v be undefined. [...] 8. Return InitializeReferencedBinding(lhs, v). --- 1407
ary-ptrn-elem-id-iter-done.js --- description: SingleNameBinding when value iteration was completed previously (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. If iteratorRecord.[[done]] is false, then [...] 5. If iteratorRecord.[[done]] is true, let v be undefined. [...] 8. Return InitializeReferencedBinding(lhs, v). --- 1160
ary-ptrn-elem-id-iter-step-err.js --- description: Error forwarding when IteratorStep returns an abrupt completion (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). --- 1356
ary-ptrn-elem-id-iter-val-array-prototype.js --- description: Array destructuring uses overriden Array.prototype[Symbol.iterator] (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializer_opt 1. Let bindingId be StringValue of BindingIdentifier. 2. Let lhs be ? ResolveBinding(bindingId, environment). 3. If iteratorRecord.[[Done]] is false, then a. Let next be IteratorStep(iteratorRecord). b. If next is an abrupt completion, set iteratorRecord.[[Done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[Done]] to true. e. Else, i. Let v be IteratorValue(next). ii. If v is an abrupt completion, set iteratorRecord.[[Done]] to true. iii. ReturnIfAbrupt(v). [...] 7. Return InitializeReferencedBinding(lhs, v). --- 1914
ary-ptrn-elem-id-iter-val-err.js --- description: Error forwarding when IteratorValue returns an abrupt completion (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[done]] to true. e. Else, i. Let v be IteratorValue(next). ii. If v is an abrupt completion, set iteratorRecord.[[done]] to true. iii. ReturnIfAbrupt(v). --- 1720
ary-ptrn-elem-id-iter-val.js --- description: SingleNameBinding when value iteration was completed previously (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[done]] to true. e. Else, [...] i. Let v be IteratorValue(next). ii. If v is an abrupt completion, set iteratorRecord.[[done]] to true. iii. ReturnIfAbrupt(v). 5. If iteratorRecord.[[done]] is true, let v be undefined. [...] 8. Return InitializeReferencedBinding(lhs, v). --- 1642
ary-ptrn-elem-obj-id-init.js --- description: BindingElement with object binding pattern and initializer is used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1407
ary-ptrn-elem-obj-id.js --- description: BindingElement with object binding pattern and initializer is not used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1429
ary-ptrn-elem-obj-prop-id-init.js --- description: BindingElement with object binding pattern and initializer is used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1584
ary-ptrn-elem-obj-prop-id.js --- description: BindingElement with object binding pattern and initializer is not used (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPatternInitializer opt [...] 2. If iteratorRecord.[[done]] is true, let v be undefined. 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be ? GetValue(defaultValue). 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. --- 1609
ary-ptrn-elem-obj-val-null.js --- description: Nested object destructuring with a null value (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPattern Initializeropt 1. If iteratorRecord.[[done]] is false, then [...] e. Else i. Let v be IteratorValue(next). [...] 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingPattern : ObjectBindingPattern 1. Let valid be RequireObjectCoercible(value). 2. ReturnIfAbrupt(valid). --- 1397
ary-ptrn-elem-obj-val-undef.js --- description: Nested object destructuring with a value of `undefined` (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingElement : BindingPattern Initializeropt 1. If iteratorRecord.[[done]] is false, then [...] e. Else i. Let v be IteratorValue(next). [...] 4. Return the result of performing BindingInitialization of BindingPattern with v and environment as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingPattern : ObjectBindingPattern 1. Let valid be RequireObjectCoercible(value). 2. ReturnIfAbrupt(valid). --- 1404
ary-ptrn-elision-exhausted.js --- description: Elision accepts exhausted iterator (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ Elision ] 1. Return the result of performing IteratorDestructuringAssignmentEvaluation of Elision with iteratorRecord as the argument. 12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation Elision : , 1. If iteratorRecord.[[done]] is false, then [...] 2. Return NormalCompletion(empty). --- 1277
ary-ptrn-elision-step-err.js --- description: Elision advances iterator and forwards abrupt completions (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ Elision ] 1. Return the result of performing IteratorDestructuringAssignmentEvaluation of Elision with iteratorRecord as the argument. 12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation Elision : , 1. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). --- 1599
ary-ptrn-elision.js --- description: Elision advances iterator (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ Elision ] 1. Return the result of performing IteratorDestructuringAssignmentEvaluation of Elision with iteratorRecord as the argument. 12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation Elision : , 1. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[done]] to true. 2. Return NormalCompletion(empty). --- 1588
ary-ptrn-empty.js --- description: No iteration occurs for an "empty" array binding pattern (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ ] 1. Return NormalCompletion(empty). --- 1038
ary-ptrn-rest-ary-elem.js --- description: Rest element containing an array BindingElementList pattern (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingPattern 1. Let A be ArrayCreate(0). [...] 3. Repeat [...] b. If iteratorRecord.[[done]] is true, then i. Return the result of performing BindingInitialization of BindingPattern with A and environment as the arguments. [...] 13.3.3.6 Runtime Semantics: IteratorBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[done]] to true. e. Else, [...] i. Let v be IteratorValue(next). ii. If v is an abrupt completion, set iteratorRecord.[[done]] to true. iii. ReturnIfAbrupt(v). 5. If iteratorRecord.[[done]] is true, let v be undefined. [...] 8. Return InitializeReferencedBinding(lhs, v). --- 2021
ary-ptrn-rest-ary-elision.js --- description: Rest element containing an elision (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingPattern 1. Let A be ArrayCreate(0). [...] 3. Repeat [...] b. If iteratorRecord.[[done]] is true, then i. Return the result of performing BindingInitialization of BindingPattern with A and environment as the arguments. [...] 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ Elision ] 1. Return the result of performing IteratorDestructuringAssignmentEvaluation of Elision with iteratorRecord as the argument. 12.14.5.3 Runtime Semantics: IteratorDestructuringAssignmentEvaluation Elision : , 1. If iteratorRecord.[[done]] is false, then a. Let next be IteratorStep(iteratorRecord.[[iterator]]). b. If next is an abrupt completion, set iteratorRecord.[[done]] to true. c. ReturnIfAbrupt(next). d. If next is false, set iteratorRecord.[[done]] to true. 2. Return NormalCompletion(empty). --- 1992
ary-ptrn-rest-ary-empty.js --- description: Rest element containing an "empty" array pattern (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingPattern 1. Let A be ArrayCreate(0). [...] 3. Repeat [...] b. If iteratorRecord.[[done]] is true, then i. Return the result of performing BindingInitialization of BindingPattern with A and environment as the arguments. [...] 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ ] 1. Return NormalCompletion(empty). --- 1425
ary-ptrn-rest-ary-rest.js --- description: Rest element containing a rest element (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingPattern 1. Let A be ArrayCreate(0). [...] 3. Repeat [...] b. If iteratorRecord.[[done]] is true, then i. Return the result of performing BindingInitialization of BindingPattern with A and environment as the arguments. [...] --- 1366
ary-ptrn-rest-id-direct.js --- description: Lone rest element (direct binding) (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] includes: [compareArray.js] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingIdentifier [...] 2. Let A be ! ArrayCreate(0). 3. Let n be 0. 4. Repeat, [...] f. Perform ! CreateDataPropertyOrThrow(A, ! ToString(n), nextValue). g. Set n to n + 1. --- 1162
ary-ptrn-rest-id-elision-next-err.js --- description: Rest element following elision elements (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ Elisionopt BindingRestElement ] 1. If Elision is present, then a. Let status be the result of performing IteratorDestructuringAssignmentEvaluation of Elision with iteratorRecord as the argument. b. ReturnIfAbrupt(status). 2. Return the result of performing IteratorBindingInitialization for BindingRestElement with iteratorRecord and environment as arguments. --- 1412
ary-ptrn-rest-id-elision.js --- description: Rest element following elision elements (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization ArrayBindingPattern : [ Elisionopt BindingRestElement ] 1. If Elision is present, then a. Let status be the result of performing IteratorDestructuringAssignmentEvaluation of Elision with iteratorRecord as the argument. b. ReturnIfAbrupt(status). 2. Return the result of performing IteratorBindingInitialization for BindingRestElement with iteratorRecord and environment as arguments. --- 1493
ary-ptrn-rest-id-exhausted.js --- description: RestElement applied to an exhausted iterator (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingIdentifier 1. Let lhs be ResolveBinding(StringValue of BindingIdentifier, environment). 2. ReturnIfAbrupt(lhs). 3. Let A be ArrayCreate(0). 4. Let n=0. 5. Repeat, [...] b. If iteratorRecord.[[done]] is true, then i. If environment is undefined, return PutValue(lhs, A). ii. Return InitializeReferencedBinding(lhs, A). --- 1340
ary-ptrn-rest-id-iter-step-err.js --- description: Error forwarding when IteratorStep returns an abrupt completion (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingIdentifier 1. Let lhs be ResolveBinding(StringValue of BindingIdentifier, environment). 2. ReturnIfAbrupt(lhs). 3. Let A be ArrayCreate(0). 4. Let n=0. 5. Repeat, a. If iteratorRecord.[[done]] is false, i. Let next be IteratorStep(iteratorRecord.[[iterator]]). ii. If next is an abrupt completion, set iteratorRecord.[[done]] to true. iii. ReturnIfAbrupt(next). --- 1640
ary-ptrn-rest-id-iter-val-err.js --- description: Error forwarding when IteratorValue returns an abrupt completion (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [Symbol.iterator, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingIdentifier 1. Let lhs be ResolveBinding(StringValue of BindingIdentifier, environment). 2. ReturnIfAbrupt(lhs). 3. Let A be ArrayCreate(0). 4. Let n=0. 5. Repeat, [...] c. Let nextValue be IteratorValue(next). d. If nextValue is an abrupt completion, set iteratorRecord.[[done]] to true. e. ReturnIfAbrupt(nextValue). --- 1591
ary-ptrn-rest-id.js --- description: Lone rest element (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingIdentifier [...] 3. Let A be ArrayCreate(0). [...] 5. Repeat [...] f. Let status be CreateDataProperty(A, ToString (n), nextValue). [...] --- 1214
ary-ptrn-rest-init-ary.js --- description: Rest element (nested array pattern) does not support initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] negative: phase: parse type: SyntaxError info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ArrayBindingPattern[Yield] : [ Elisionopt BindingRestElement[?Yield]opt ] [ BindingElementList[?Yield] ] [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] --- 1139
ary-ptrn-rest-init-id.js --- description: Rest element (identifier) does not support initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] negative: phase: parse type: SyntaxError info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ArrayBindingPattern[Yield] : [ Elisionopt BindingRestElement[?Yield]opt ] [ BindingElementList[?Yield] ] [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] --- 1124
ary-ptrn-rest-init-obj.js --- description: Rest element (nested object pattern) does not support initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] negative: phase: parse type: SyntaxError info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ArrayBindingPattern[Yield] : [ Elisionopt BindingRestElement[?Yield]opt ] [ BindingElementList[?Yield] ] [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] --- 1140
ary-ptrn-rest-not-final-ary.js --- description: Rest element (array binding pattern) may not be followed by any element (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] negative: phase: parse type: SyntaxError info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ArrayBindingPattern[Yield] : [ Elisionopt BindingRestElement[?Yield]opt ] [ BindingElementList[?Yield] ] [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] --- 1154
ary-ptrn-rest-not-final-id.js --- description: Rest element (identifier) may not be followed by any element (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] negative: phase: parse type: SyntaxError info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ArrayBindingPattern[Yield] : [ Elisionopt BindingRestElement[?Yield]opt ] [ BindingElementList[?Yield] ] [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] --- 1140
ary-ptrn-rest-not-final-obj.js --- description: Rest element (object binding pattern) may not be followed by any element (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] negative: phase: parse type: SyntaxError info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ArrayBindingPattern[Yield] : [ Elisionopt BindingRestElement[?Yield]opt ] [ BindingElementList[?Yield] ] [ BindingElementList[?Yield] , Elisionopt BindingRestElement[?Yield]opt ] --- 1157
ary-ptrn-rest-obj-id.js --- description: Rest element containing an object binding pattern (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingPattern 1. Let A be ArrayCreate(0). [...] 3. Repeat [...] b. If iteratorRecord.[[done]] is true, then i. Return the result of performing BindingInitialization of BindingPattern with A and environment as the arguments. [...] --- 1216
ary-ptrn-rest-obj-prop-id.js --- description: Rest element containing an object binding pattern (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.6 Runtime Semantics: IteratorBindingInitialization BindingRestElement : ... BindingPattern 1. Let A be ArrayCreate(0). [...] 3. Repeat [...] b. If iteratorRecord.[[done]] is true, then i. Return the result of performing BindingInitialization of BindingPattern with A and environment as the arguments. [...] --- 1453
browser.js 0
obj-init-null.js --- description: Value specifed for object binding pattern must be object coercible (null) (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. Runtime Semantics: BindingInitialization ObjectBindingPattern : { } 1. Return NormalCompletion(empty). --- 964
obj-init-undefined.js --- description: Value specifed for object binding pattern must be object coercible (undefined) (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. Runtime Semantics: BindingInitialization ObjectBindingPattern : { } 1. Return NormalCompletion(empty). --- 979
obj-ptrn-empty.js --- description: No property access occurs for an "empty" object binding pattern (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. Runtime Semantics: BindingInitialization ObjectBindingPattern : { } 1. Return NormalCompletion(empty). --- 1064
obj-ptrn-id-get-value-err.js --- description: Error thrown when accessing the corresponding property of the value object (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 4. Let v be GetV(value, propertyName). 5. ReturnIfAbrupt(v). --- 1203
obj-ptrn-id-init-fn-name-arrow.js --- description: SingleNameBinding assigns `name` to arrow functions (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then [...] d. If IsAnonymousFunctionDefinition(Initializer) is true, then i. Let hasNameProperty be HasOwnProperty(v, "name"). ii. ReturnIfAbrupt(hasNameProperty). iii. If hasNameProperty is false, perform SetFunctionName(v, bindingId). --- 1333
obj-ptrn-id-init-fn-name-class.js --- description: SingleNameBinding assigns `name` to "anonymous" classes (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then [...] d. If IsAnonymousFunctionDefinition(Initializer) is true, then i. Let hasNameProperty be HasOwnProperty(v, "name"). ii. ReturnIfAbrupt(hasNameProperty). iii. If hasNameProperty is false, perform SetFunctionName(v, bindingId). --- 1468
obj-ptrn-id-init-fn-name-cover.js --- description: SingleNameBinding assigns `name` to "anonymous" functions "through" cover grammar (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then [...] d. If IsAnonymousFunctionDefinition(Initializer) is true, then i. Let hasNameProperty be HasOwnProperty(v, "name"). ii. ReturnIfAbrupt(hasNameProperty). iii. If hasNameProperty is false, perform SetFunctionName(v, bindingId). --- 1445
obj-ptrn-id-init-fn-name-fn.js --- description: SingleNameBinding assigns name to "anonymous" functions (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then [...] d. If IsAnonymousFunctionDefinition(Initializer) is true, then i. Let hasNameProperty be HasOwnProperty(v, "name"). ii. ReturnIfAbrupt(hasNameProperty). iii. If hasNameProperty is false, perform SetFunctionName(v, bindingId). --- 1392
obj-ptrn-id-init-fn-name-gen.js --- description: SingleNameBinding assigns name to "anonymous" generator functions (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [generators, destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then [...] d. If IsAnonymousFunctionDefinition(Initializer) is true, then i. Let hasNameProperty be HasOwnProperty(v, "name"). ii. ReturnIfAbrupt(hasNameProperty). iii. If hasNameProperty is false, perform SetFunctionName(v, bindingId). --- 1424
obj-ptrn-id-init-skipped.js --- description: Destructuring initializer is not evaluated when value is not `undefined` (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then [...] [...] --- 1311
obj-ptrn-id-init-throws.js --- description: Error thrown when evaluating the initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). --- 1222
obj-ptrn-id-init-unresolvable.js --- description: Destructuring initializer is an unresolvable reference (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 6. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). 6.2.3.1 GetValue (V) 1. ReturnIfAbrupt(V). 2. If Type(V) is not Reference, return V. 3. Let base be GetBase(V). 4. If IsUnresolvableReference(V), throw a ReferenceError exception. --- 1402
obj-ptrn-id-trailing-comma.js --- description: Trailing comma is allowed following BindingPropertyList (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ObjectBindingPattern[Yield] : { } { BindingPropertyList[?Yield] } { BindingPropertyList[?Yield] , } --- 1006
obj-ptrn-list-err.js --- description: Binding property list evaluation is interrupted by an abrupt completion (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingPropertyList : BindingPropertyList , BindingProperty 1. Let status be the result of performing BindingInitialization for BindingPropertyList using value and environment as arguments. 2. ReturnIfAbrupt(status). --- 1280
obj-ptrn-prop-ary-init.js --- description: Object binding pattern with "nested" array binding pattern using initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization [...] 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). 4. Return the result of performing BindingInitialization for BindingPattern passing v and environment as arguments. --- 1362
obj-ptrn-prop-ary-trailing-comma.js --- description: Trailing comma is allowed following BindingPropertyList (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ObjectBindingPattern[Yield] : { } { BindingPropertyList[?Yield] } { BindingPropertyList[?Yield] , } --- 1018
obj-ptrn-prop-ary-value-null.js --- description: Object binding pattern with "nested" array binding pattern taking the `null` value (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization [...] 3. If Initializer is present and v is undefined, then [...] 4. Return the result of performing BindingInitialization for BindingPattern passing v and environment as arguments. --- 1172
obj-ptrn-prop-ary.js --- description: Object binding pattern with "nested" array binding pattern not using initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization [...] 3. If Initializer is present and v is undefined, then [...] 4. Return the result of performing BindingInitialization for BindingPattern passing v and environment as arguments. --- 1271
obj-ptrn-prop-eval-err.js --- description: Evaluation of property name returns an abrupt completion (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.5 Runtime Semantics: BindingInitialization BindingProperty : PropertyName : BindingElement 1. Let P be the result of evaluating PropertyName 2. ReturnIfAbrupt(P). --- 1095
obj-ptrn-prop-id-get-value-err.js --- description: Error thrown when accessing the corresponding property of the value object (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization BindingElement : BindingPattern Initializeropt 1. Let v be GetV(value, propertyName). 2. ReturnIfAbrupt(v). --- 1273
obj-ptrn-prop-id-init-skipped.js --- description: Destructuring initializer is not evaluated when value is not `undefined` (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization BindingElement : BindingPattern Initializeropt [...] 3. If Initializer is present and v is undefined, then [...] --- 1518
obj-ptrn-prop-id-init-throws.js --- description: Error thrown when evaluating the initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization BindingElement : BindingPattern Initializeropt [...] 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). --- 1223
obj-ptrn-prop-id-init-unresolvable.js --- description: Destructuring initializer is an unresolvable reference (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization BindingElement : BindingPattern Initializeropt [...] 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). 6.2.3.1 GetValue (V) 1. ReturnIfAbrupt(V). 2. If Type(V) is not Reference, return V. 3. Let base be GetBase(V). 4. If IsUnresolvableReference(V), throw a ReferenceError exception. --- 1404
obj-ptrn-prop-id-init.js --- description: Binding as specified via property name, identifier, and initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 8. Return InitializeReferencedBinding(lhs, v). --- 1074
obj-ptrn-prop-id-trailing-comma.js --- description: Trailing comma is allowed following BindingPropertyList (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3 Destructuring Binding Patterns ObjectBindingPattern[Yield] : { } { BindingPropertyList[?Yield] } { BindingPropertyList[?Yield] , } --- 1067
obj-ptrn-prop-id.js --- description: Binding as specified via property name and identifier (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization SingleNameBinding : BindingIdentifier Initializeropt [...] 8. Return InitializeReferencedBinding(lhs, v). --- 1056
obj-ptrn-prop-obj-init.js --- description: Object binding pattern with "nested" object binding pattern using initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization [...] 3. If Initializer is present and v is undefined, then a. Let defaultValue be the result of evaluating Initializer. b. Let v be GetValue(defaultValue). c. ReturnIfAbrupt(v). 4. Return the result of performing BindingInitialization for BindingPattern passing v and environment as arguments. --- 1390
obj-ptrn-prop-obj-value-null.js --- description: Object binding pattern with "nested" object binding pattern taking the `null` value (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization [...] 3. If Initializer is present and v is undefined, then [...] 4. Return the result of performing BindingInitialization for BindingPattern passing v and environment as arguments. --- 1186
obj-ptrn-prop-obj-value-undef.js --- description: Object binding pattern with "nested" object binding pattern taking the `null` value (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization [...] 3. If Initializer is present and v is undefined, then [...] 4. Return the result of performing BindingInitialization for BindingPattern passing v and environment as arguments. --- 1168
obj-ptrn-prop-obj.js --- description: Object binding pattern with "nested" object binding pattern not using initializer (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [destructuring-binding] flags: [generated] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. 13.3.3.7 Runtime Semantics: KeyedBindingInitialization [...] 3. If Initializer is present and v is undefined, then [...] 4. Return the result of performing BindingInitialization for BindingPattern passing v and environment as arguments. --- 1291
obj-ptrn-rest-getter.js --- description: Getter is called when obj is being deconstructed to a rest Object (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [object-rest, destructuring-binding] flags: [generated] includes: [propertyHelper.js] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. --- 1025
obj-ptrn-rest-skip-non-enumerable.js --- description: Rest object doesn't contain non-enumerable properties (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [object-rest, destructuring-binding] flags: [generated] includes: [propertyHelper.js] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. --- 1183
obj-ptrn-rest-val-obj.js --- description: Rest object contains just unextracted data (`let` statement) esid: sec-let-and-const-declarations-runtime-semantics-evaluation features: [object-rest, destructuring-binding] flags: [generated] includes: [propertyHelper.js] info: | LexicalBinding : BindingPattern Initializer 1. Let rhs be the result of evaluating Initializer. 2. Let value be GetValue(rhs). 3. ReturnIfAbrupt(value). 4. Let env be the running execution context's LexicalEnvironment. 5. Return the result of performing BindingInitialization for BindingPattern using value and env as the arguments. --- 1140
shell.js 0