Index: src/arraybuffer.js |
diff --git a/src/arraybuffer.js b/src/arraybuffer.js |
index 2edcd12cade295a0a184769bb8f8ab4aad21ff57..0db0c2bf046477840fc0f97a48c43d9aacaa058a 100644 |
--- a/src/arraybuffer.js |
+++ b/src/arraybuffer.js |
@@ -16,6 +16,7 @@ var GlobalObject = global.Object; |
var MathMax; |
var MathMin; |
var ToNumber; |
+var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
utils.Import(function(from) { |
MathMax = from.MathMax; |
@@ -93,9 +94,10 @@ function ArrayBufferIsViewJS(obj) { |
GlobalArrayBuffer.prototype, "constructor", GlobalArrayBuffer, DONT_ENUM); |
%AddNamedProperty(GlobalArrayBuffer.prototype, |
- symbolToStringTag, "ArrayBuffer", DONT_ENUM | READ_ONLY); |
+ toStringTagSymbol, "ArrayBuffer", DONT_ENUM | READ_ONLY); |
-utils.InstallGetter(GlobalArrayBuffer.prototype, "byteLength", ArrayBufferGetByteLen); |
+utils.InstallGetter(GlobalArrayBuffer.prototype, "byteLength", |
+ ArrayBufferGetByteLen); |
utils.InstallFunctions(GlobalArrayBuffer, DONT_ENUM, [ |
"isView", ArrayBufferIsViewJS |