You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
_argumentList_: a List of ECMAScript language values,
41473
-
): either a normal completion containing a TypedArray or a throw completion
41474
-
</h1>
41475
-
<dl class="header">
41476
-
<dt>description</dt>
41477
-
<dd>It is used to specify the creation of a new TypedArray using a constructor function that is derived from _exemplar_. Unlike ArraySpeciesCreate, which can create non-Array objects through the use of %Symbol.species%, this operation enforces that the constructor function creates an actual TypedArray.</dd>
41478
-
</dl>
41479
-
<emu-alg>
41480
-
1. Let _defaultConstructor_ be the intrinsic object associated with the constructor name _exemplar_.[[TypedArrayName]] in <emu-xref href="#table-the-typedarray-constructors"></emu-xref>.
41481
-
1. Let _constructor_ be ? SpeciesConstructor(_exemplar_, _defaultConstructor_).
41482
-
1. Let _result_ be ? TypedArrayCreateFromConstructor(_constructor_, _argumentList_).
41483
-
1. Assert: _result_ has [[TypedArrayName]] and [[ContentType]] internal slots.
41484
-
1. If _result_.[[ContentType]] is not _exemplar_.[[ContentType]], throw a *TypeError* exception.
<dd>It is used to specify the creation of a new TypedArray using a constructor function that is derived from _exemplar_. Unlike TypedArraySpeciesCreate, which can construct custom TypedArray subclasses through the use of %Symbol.species%, this operation always uses one of the built-in TypedArray constructors.</dd>
41505
+
<dd>It is used to specify the creation of a new TypedArray using a constructor function that is derived from _exemplar_. This operation always uses one of the built-in TypedArray constructors.</dd>
41521
41506
</dl>
41522
41507
<emu-alg>
41523
41508
1. Let _constructor_ be the intrinsic object associated with the constructor name _exemplar_.[[TypedArrayName]] in <emu-xref href="#table-the-typedarray-constructors"></emu-xref>.
0 commit comments