2.1.119 [ECMA-262/6] Section 22.2.2.1.1 Runtime Semantics: TypedArrayFrom( constructor, items, mapfn, thisArg )
V0087: @@iterator is not supported, so the TypedArray constructors do not accept iterable arguments
The specification states:
-
22.2.2.1.1 Runtime Semantics: TypedArrayFrom( constructor, items, mapfn, thisArg ) When the TypedArrayFrom abstract operation is called with arguments constructor, items, mapfn, and thisArg, the following steps are taken: 1. Let C be constructor. ... 6. Let usingIterator be GetMethod(items, @@iterator). 7. ReturnIfAbrupt(usingIterator). 8. If usingIterator is not undefined, then a. Let iterator be GetIterator(items, usingIterator). b. ReturnIfAbrupt(iterator). ... 9. Assert: items is not an Iterable so assume it is an array-like object. 10. Let arrayLike be ToObject(items). ... 18. Return targetObj.
IE11 Mode (All versions)
@@iterator
is not supported,
so the TypedArray
constructors do not accept
iterable arguments. Step 10 is reached for every argument.
This affects the following constructors:
Int8Array
Uint8Array
Uint8ClampedArray
Int16Array
Uint16Array
Int32Array
Uint32Array
Float32Array
Float64Array