summaryrefslogtreecommitdiff
path: root/deps/v8/src/typedarray.js
diff options
context:
space:
mode:
authorBen Noordhuis <info@bnoordhuis.nl>2013-06-11 23:45:46 +0200
committerBen Noordhuis <info@bnoordhuis.nl>2013-06-11 23:46:00 +0200
commit6dd78074a3c0a7579ca5e919021587c22ff763ae (patch)
treee225460f8e76126f4e4b2e1809dbd4c9c2ba511b /deps/v8/src/typedarray.js
parent9ae1d182ba98629ac7c7b9100022ac93133494b7 (diff)
downloadnode-new-6dd78074a3c0a7579ca5e919021587c22ff763ae.tar.gz
v8: upgrade to v3.19.13
Diffstat (limited to 'deps/v8/src/typedarray.js')
-rw-r--r--deps/v8/src/typedarray.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/v8/src/typedarray.js b/deps/v8/src/typedarray.js
index 4fade00e10..04c487f43c 100644
--- a/deps/v8/src/typedarray.js
+++ b/deps/v8/src/typedarray.js
@@ -94,7 +94,7 @@ function CreateTypedArrayConstructor(name, elementSize, arrayId, constructor) {
} else if (!IS_UNDEFINED(arg1)){
ConstructByArrayLike(this, arg1);
} else {
- throw MakeTypeError("parameterless_typed_array_constr", name);
+ throw MakeTypeError("parameterless_typed_array_constr", [name]);
}
} else {
return new constructor(arg1, arg2, arg3);