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