Index: src/typedarray.js |
diff --git a/src/typedarray.js b/src/typedarray.js |
index 4fade00e1000eabfa077c60a46253cc7b22cda21..04c487f43ce70131252a736295fbf3598ed6f884 100644 |
--- a/src/typedarray.js |
+++ b/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); |