Index: src/arraybuffer.js |
diff --git a/src/arraybuffer.js b/src/arraybuffer.js |
index a426b8220f3004d88edfb1bd0d2e52b579e39375..11b3c46bc7a713f195aa36d6f461563da2a84f1e 100644 |
--- a/src/arraybuffer.js |
+++ b/src/arraybuffer.js |
@@ -15,7 +15,7 @@ |
function ArrayBufferConstructor(length) { // length = 1 |
if (%_IsConstructCall()) { |
- var byteLength = $toPositiveInteger(length, kInvalidArrayBufferLength); |
+ var byteLength = ToPositiveInteger(length, kInvalidArrayBufferLength); |
%ArrayBufferInitialize(this, byteLength); |
} else { |
throw MakeTypeError(kConstructorNotFunction, "ArrayBuffer"); |