Index: src/math.js |
diff --git a/src/math.js b/src/math.js |
index d231c22ea2222c237914d72d6d60027fd40e618b..679fc5fce8b0b05dead5c9f2578f83deb4ad9efe 100644 |
--- a/src/math.js |
+++ b/src/math.js |
@@ -260,7 +260,7 @@ function SetUpMath() { |
%CheckIsBootstrapping(); |
%SetPrototype($Math, $Object.prototype); |
- %SetProperty(global, "Math", $Math, DONT_ENUM); |
+ %AddProperty(global, "Math", $Math, DONT_ENUM); |
%FunctionSetInstanceClassName(MathConstructor, 'Math'); |
// Set up math constants. |