1. Let _O_ be ? ToObject(*this* value).
1. Let _len_ be ? LengthOfArrayLike(_O_).
- 1. If IsCallable(_callbackfn_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_callbackfn_) is *false*, throw a *TypeError* exception.
1. Let _k_ be 0.
1. Repeat, while _k_ < _len_,
1. Let _Pk_ be ! ToString(𝔽(_k_)).
@@ -38008,7 +38008,7 @@ Array.prototype.sort ( _comparefn_ )
This method sorts the elements of this array. The sort must be stable (that is, elements that compare equal must remain in their original order). If _comparefn_ is not *undefined*, it should be a function that accepts two arguments _x_ and _y_ and returns a negative Number if _x_ < _y_, a positive Number if _x_ > _y_, or a zero otherwise.
It performs the following steps when called:
- 1. [id="step-array-sort-comparefn"] If _comparefn_ is not *undefined* and IsCallable(_comparefn_) is *false*, throw a *TypeError* exception.
+ 1. [id="step-array-sort-comparefn"] If _comparefn_ is not *undefined* and IsFunction(_comparefn_) is *false*, throw a *TypeError* exception.
1. Let _obj_ be ? ToObject(*this* value).
1. [id="step-array-sort-len"] Let _len_ be ? LengthOfArrayLike(_obj_).
1. Let _SortCompare_ be a new Abstract Closure with parameters (_x_, _y_) that captures _comparefn_ and performs the following steps when called:
@@ -38220,7 +38220,7 @@ Array.prototype.toString ( )
1. Let _array_ be ? ToObject(*this* value).
1. Let _func_ be ? Get(_array_, *"join"*).
- 1. If IsCallable(_func_) is *false*, set _func_ to the intrinsic function %Object.prototype.toString%.
+ 1. If IsFunction(_func_) is *false*, set _func_ to the intrinsic function %Object.prototype.toString%.
1. Return ? Call(_func_, _array_).
@@ -38644,7 +38644,7 @@ %TypedArray%.from ( _source_ [ , _mapfn_ [ , _thisArg_ ] ] )
1. If IsConstructor(_C_) is *false*, throw a *TypeError* exception.
1. If _mapfn_ is *undefined*, let _mapping_ be *false*.
1. Else,
- 1. If IsCallable(_mapfn_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_mapfn_) is *false*, throw a *TypeError* exception.
1. Let _mapping_ be *true*.
1. Let _usingIterator_ be ? GetMethod(_source_, @@iterator).
1. If _usingIterator_ is not *undefined*, then
@@ -38851,7 +38851,7 @@ %TypedArray%.prototype.every ( _callbackfn_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_callbackfn_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_callbackfn_) is *false*, throw a *TypeError* exception.
1. Let _k_ be 0.
1. Repeat, while _k_ < _len_,
1. Let _Pk_ be ! ToString(𝔽(_k_)).
@@ -38899,7 +38899,7 @@ %TypedArray%.prototype.filter ( _callbackfn_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_callbackfn_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_callbackfn_) is *false*, throw a *TypeError* exception.
1. Let _kept_ be a new empty List.
1. Let _captured_ be 0.
1. Let _k_ be 0.
@@ -38929,7 +38929,7 @@ %TypedArray%.prototype.find ( _predicate_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_predicate_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_predicate_) is *false*, throw a *TypeError* exception.
1. Let _k_ be 0.
1. Repeat, while _k_ < _len_,
1. Let _Pk_ be ! ToString(𝔽(_k_)).
@@ -38950,7 +38950,7 @@ %TypedArray%.prototype.findIndex ( _predicate_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_predicate_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_predicate_) is *false*, throw a *TypeError* exception.
1. Let _k_ be 0.
1. Repeat, while _k_ < _len_,
1. Let _Pk_ be ! ToString(𝔽(_k_)).
@@ -38971,7 +38971,7 @@ %TypedArray%.prototype.findLast ( _predicate_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_predicate_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_predicate_) is *false*, throw a *TypeError* exception.
1. Let _k_ be _len_ - 1.
1. Repeat, while _k_ ≥ 0,
1. Let _Pk_ be ! ToString(𝔽(_k_)).
@@ -38992,7 +38992,7 @@ %TypedArray%.prototype.findLastIndex ( _predicate_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_predicate_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_predicate_) is *false*, throw a *TypeError* exception.
1. Let _k_ be _len_ - 1.
1. Repeat, while _k_ ≥ 0,
1. Let _Pk_ be ! ToString(𝔽(_k_)).
@@ -39013,7 +39013,7 @@ %TypedArray%.prototype.forEach ( _callbackfn_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_callbackfn_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_callbackfn_) is *false*, throw a *TypeError* exception.
1. Let _k_ be 0.
1. Repeat, while _k_ < _len_,
1. Let _Pk_ be ! ToString(𝔽(_k_)).
@@ -39165,7 +39165,7 @@ %TypedArray%.prototype.map ( _callbackfn_ [ , _thisArg_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_callbackfn_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_callbackfn_) is *false*, throw a *TypeError* exception.
1. Let _A_ be ? TypedArraySpeciesCreate(_O_, « 𝔽(_len_) »).
1. Let _k_ be 0.
1. Repeat, while _k_ < _len_,
@@ -39187,7 +39187,7 @@ %TypedArray%.prototype.reduce ( _callbackfn_ [ , _initialValue_ ] )
1. Let _O_ be the *this* value.
1. Perform ? ValidateTypedArray(_O_).
1. Let _len_ be _O_.[[ArrayLength]].
- 1. If IsCallable(_callbackfn_) is *false*, throw a *TypeError* exception.
+ 1. If IsFunction(_callbackfn_) is *false*, throw a *TypeError* exception.
1. If _len_ = 0 and _initialValue_ is not present, throw a *TypeError* exception.
1. Let _k_ be 0.
1. Let _accumulator_ be *undefined*.
@@ -39215,7 +39215,7 @@ %TypedArray%.prototype.reduceRight ( _callbackfn_ [ , _initialValue_ ] )
%TypedArray%.prototype.some ( _callbackfn_ [ , _thisArg_ ] )