Chromium Code Reviews| Index: src/math.js |
| diff --git a/src/math.js b/src/math.js |
| index d231c22ea2222c237914d72d6d60027fd40e618b..2787a5795af9db5f90d165bd089e963a5071c1cc 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); |
| + %DefineProperty(global, "Math", $Math, DONT_ENUM); |
| %FunctionSetInstanceClassName(MathConstructor, 'Math'); |
| // Set up math constants. |