| Index: src/harmony-array.js
|
| diff --git a/src/harmony-array.js b/src/harmony-array.js
|
| index dc7d71fcb4dca34110756793db4953325ca95b8e..cdd63be41611c1c17ad85eab60ede0fababa7868 100644
|
| --- a/src/harmony-array.js
|
| +++ b/src/harmony-array.js
|
| @@ -18,7 +18,7 @@
|
| var length = ToInteger(array.length);
|
|
|
| if (!IS_SPEC_FUNCTION(predicate)) {
|
| - throw MakeTypeError(kCalledNonCallable, predicate);
|
| + throw MakeTypeError('called_non_callable', [predicate]);
|
| }
|
|
|
| var thisArg;
|
| @@ -55,7 +55,7 @@
|
| var length = ToInteger(array.length);
|
|
|
| if (!IS_SPEC_FUNCTION(predicate)) {
|
| - throw MakeTypeError(kCalledNonCallable, predicate);
|
| + throw MakeTypeError('called_non_callable', [predicate]);
|
| }
|
|
|
| var thisArg;
|
| @@ -134,7 +134,7 @@
|
|
|
| if (mapping) {
|
| if (!IS_SPEC_FUNCTION(mapfn)) {
|
| - throw MakeTypeError(kCalledNonCallable, mapfn);
|
| + throw MakeTypeError('called_non_callable', [ mapfn ]);
|
| } else if (IS_NULL_OR_UNDEFINED(receiver)) {
|
| receiver = %GetDefaultReceiver(mapfn) || receiver;
|
| } else if (!IS_SPEC_OBJECT(receiver) && %IsSloppyModeFunction(mapfn)) {
|
|
|