Index: src/math.js |
diff --git a/src/math.js b/src/math.js |
index 51f4d445c7fc780c780cb5e0d947c640aa40928a..05eb9e46d7ed581a9659edd94f598b41f78441e7 100644 |
--- a/src/math.js |
+++ b/src/math.js |
@@ -15,6 +15,7 @@ var rngstate; // Initialized to a Uint32Array during genesis. |
var GlobalMath = global.Math; |
var GlobalObject = global.Object; |
var InternalArray = utils.InternalArray; |
+var toStringTagSymbol = utils.ImportNow("to_string_tag_symbol"); |
//------------------------------------------------------------------- |
@@ -288,7 +289,7 @@ function CubeRoot(x) { |
// ------------------------------------------------------------------- |
-%AddNamedProperty(GlobalMath, symbolToStringTag, "Math", READ_ONLY | DONT_ENUM); |
+%AddNamedProperty(GlobalMath, toStringTagSymbol, "Math", READ_ONLY | DONT_ENUM); |
// Set up math constants. |
utils.InstallConstants(GlobalMath, [ |