Index: src/harmony-typedarray.js |
diff --git a/src/harmony-typedarray.js b/src/harmony-typedarray.js |
index a3bbf1a9b1f16e9ac75f5b214cc5ccec0b9c01d5..d692a5f1bc5cdca4ba5a6d265d72fc0a5165902a 100644 |
--- a/src/harmony-typedarray.js |
+++ b/src/harmony-typedarray.js |
@@ -31,7 +31,9 @@ |
if (!%IsTypedArray(this)) { |
throw MakeTypeError('not_typed_array', []); |
} |
- if (!IS_SPEC_FUNCTION(f)) throw MakeTypeError(kCalledNonCallable, f); |
+ if (!IS_SPEC_FUNCTION(f)) { |
+ throw MakeTypeError('called_non_callable', [ f ]); |
+ } |
var length = %_TypedArrayGetLength(this); |
var receiver; |