| Index: src/harmony-array.js
|
| diff --git a/src/harmony-array.js b/src/harmony-array.js
|
| index 885950b8ea0a324afd23b7a877499a32a8a191f3..779b67a80356bc4286a49f7f408183fac7d41f65 100644
|
| --- a/src/harmony-array.js
|
| +++ b/src/harmony-array.js
|
| @@ -91,7 +91,7 @@ function ArrayCopyWithin(target, start, end) {
|
| }
|
|
|
| function InnerArrayFind(predicate, thisArg, array, length) {
|
| - if (!IS_SPEC_FUNCTION(predicate)) {
|
| + if (!IS_CALLABLE(predicate)) {
|
| throw MakeTypeError(kCalledNonCallable, predicate);
|
| }
|
|
|
| @@ -124,7 +124,7 @@ function ArrayFind(predicate, thisArg) {
|
| }
|
|
|
| function InnerArrayFindIndex(predicate, thisArg, array, length) {
|
| - if (!IS_SPEC_FUNCTION(predicate)) {
|
| + if (!IS_CALLABLE(predicate)) {
|
| throw MakeTypeError(kCalledNonCallable, predicate);
|
| }
|
|
|
| @@ -210,7 +210,7 @@ function ArrayFrom(arrayLike, mapfn, receiver) {
|
| var mapping = !IS_UNDEFINED(mapfn);
|
|
|
| if (mapping) {
|
| - if (!IS_SPEC_FUNCTION(mapfn)) {
|
| + if (!IS_CALLABLE(mapfn)) {
|
| throw MakeTypeError(kCalledNonCallable, mapfn);
|
| } else if (%IsSloppyModeFunction(mapfn)) {
|
| if (IS_NULL(receiver)) {
|
|
|