| browser.js |
|
0 |
| callable.js |
---
esid: sec-iterator.from
description: >
Iterator.from is callable
features: [iterator-helpers]
--- |
327 |
| get-next-method-only-once.js |
---
esid: sec-iterator.from
description: >
Gets the next method from the underlying iterator only once
info: |
Iterator.from ( O )
2. Let iteratorRecord be ? GetIteratorFlattenable(O).
features: [iterator-helpers]
flags: []
--- |
1157 |
| get-next-method-throws.js |
---
esid: sec-iterator.from
description: >
Underlying iterator has throwing next getter
info: |
Iterator.from ( O )
4. Let iterated be ? GetIteratorDirect(O).
features: [iterator-helpers]
flags: []
--- |
557 |
| get-return-method-when-call-return.js |
---
esid: sec-iterator.from
description: >
Gets the base iterator return method when the wrapper return method is called.
info: |
%WrapForValidIteratorPrototype%.return ( )
...
5. Let returnMethod be ? GetMethod(iterator, "return").
features: [iterator-helpers]
includes: [temporalHelpers.js, compareArray.js]
--- |
919 |
| is-function.js |
---
esid: sec-iterator.from
description: >
Iterator.from is a built-in function
features: [iterator-helpers]
--- |
375 |
| iterable-primitives.js |
---
esid: sec-iterator.from
description: >
Iterator.from does not respect the iterability of any primitive except Strings
info: |
Iterator.from ( O )
1. If O is a String, set O to ! ToObject(O).
2. Let iteratorRecord be ? GetIteratorFlattenable(O).
includes: [compareArray.js]
features: [iterator-helpers]
flags: []
--- |
1332 |
| iterable-to-iterator-fallback.js |
---
esid: sec-iterator.from
description: >
Iterator.from falls back to treating its parameter as an iterator if the Symbol.iterator property is null/undefined
info: |
Iterator.from ( O )
includes: [compareArray.js]
features: [iterator-helpers]
flags: []
--- |
1022 |
| length.js |
---
esid: sec-iterator.from
description: >
Iterator.from has a "length" property whose value is 1.
info: |
ECMAScript Standard Built-in Objects
Unless otherwise specified, the length property of a built-in
Function object has the attributes { [[Writable]]: false, [[Enumerable]]:
false, [[Configurable]]: true }.
features: [iterator-helpers]
includes: [propertyHelper.js]
--- |
662 |
| name.js |
---
esid: sec-iterator.from
description: >
The "name" property of Iterator.from
info: |
17 ECMAScript Standard Built-in Objects
Every built-in Function object, including constructors, that is not
identified as an anonymous function has a name property whose value is a
String. Unless otherwise specified, this value is the name that is given to
the function in this specification.
...
Unless otherwise specified, the name property of a built-in Function
object, if it exists, has the attributes { [[Writable]]: false,
[[Enumerable]]: false, [[Configurable]]: true }.
features: [iterator-helpers]
includes: [propertyHelper.js]
--- |
931 |
| non-constructible.js |
---
esid: sec-iterator.from
description: >
Iterator.from is not constructible.
Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function.
features: [iterator-helpers]
--- |
683 |
| primitives.js |
---
esid: sec-iterator.from
description: >
Iterator.from throws on primitives (except Strings)
info: |
Iterator.from ( O )
features: [iterator-helpers]
flags: []
--- |
760 |
| prop-desc.js |
---
esid: sec-iterator.from
description: >
Property descriptor of Iterator.from
info: |
Iterator.from
is the initial value of the Iterator.from property of the global object.
17 ECMAScript Standard Built-in Objects
Every other data property described in clauses 18 through 26 and in Annex B.2
has the attributes { [[Writable]]: true, [[Enumerable]]: false,
[[Configurable]]: true } unless otherwise specified.
features: [globalThis, iterator-helpers]
includes: [propertyHelper.js]
--- |
783 |
| proto.js |
---
esid: sec-iterator.from
description: >
The value of the [[Prototype]] internal slot of Iterator.from is the
intrinsic object %FunctionPrototype%.
features: [iterator-helpers]
--- |
510 |
| result-proto.js |
---
esid: sec-iterator.from
description: >
The value of the [[Prototype]] internal slot of the return value of Iterator.from is the
intrinsic object %WrapForValidIteratorPrototype%, whose [[Prototype]] is %IteratorHelperPrototype%.
features: [iterator-helpers]
--- |
986 |
| return-method-calls-base-return-method.js |
---
esid: sec-iterator.from
description: >
%WrapForValidIteratorPrototype%.return() call base iterator's return method when it exists.
info: |
%WrapForValidIteratorPrototype%.return ( )
5. Let returnMethod be ? GetMethod(iterator, "return").
6. If returnMethod is undefined, then
...
7. Return ? Call(returnMethod, iterator).
features: [iterator-helpers]
includes: [temporalHelpers.js, compareArray.js]
--- |
1271 |
| return-method-returns-iterator-result.js |
---
esid: sec-iterator.from
description: >
%WrapForValidIteratorPrototype%.return() should return an iterator result object that value is undefined when base object does not have return method.
info: |
%WrapForValidIteratorPrototype%.return ( )
...
5. Let returnMethod be ? GetMethod(iterator, "return").
6. If returnMethod is undefined, then
a. Return CreateIterResultObject(undefined, true).
features: [iterator-helpers]
--- |
814 |
| return-method-throws-for-invalid-this.js |
---
esid: sec-iterator.from
description: >
%WrapForValidIteratorPrototype%.return() requires [[iterated]] internal slot
info: |
%WrapForValidIteratorPrototype%.return ( )
...
2. Perform ? RequireInternalSlot(O, [[Iterated]]).
features: [iterator-helpers]
includes: [temporalHelpers.js, compareArray.js]
--- |
1082 |
| shell.js |
---
description: |
This defines helper objects and functions for testing Temporal.
defines: [TemporalHelpers]
features: [Symbol.species, Symbol.iterator, Temporal]
--- |
47073 |
| supports-iterable.js |
---
esid: sec-iterator.from
description: >
Iterator.from supports iterables
info: |
Iterator.from ( O )
includes: [compareArray.js]
features: [iterator-helpers]
flags: []
--- |
497 |
| supports-iterator.js |
---
esid: sec-iterator.from
description: >
Iterator.from supports non-iterable iterators
info: |
Iterator.from ( O )
includes: [compareArray.js]
features: [iterator-helpers]
flags: []
--- |
549 |