Index: src/arraybuffer.js |
diff --git a/src/arraybuffer.js b/src/arraybuffer.js |
index d1324bbed0df4107fd532d2c6f70af7260b67eab..a34469cefb3a358fba523e4f6dff41c3cfc19fbb 100644 |
--- a/src/arraybuffer.js |
+++ b/src/arraybuffer.js |
@@ -74,7 +74,7 @@ function SetUpArrayBuffer() { |
%FunctionSetPrototype($ArrayBuffer, new $Object()); |
// Set up the constructor property on the ArrayBuffer prototype object. |
- %SetProperty($ArrayBuffer.prototype, "constructor", $ArrayBuffer, DONT_ENUM); |
+ %AddProperty($ArrayBuffer.prototype, "constructor", $ArrayBuffer, DONT_ENUM); |
InstallGetter($ArrayBuffer.prototype, "byteLength", ArrayBufferGetByteLen); |