Index: src/math.js |
diff --git a/src/math.js b/src/math.js |
index 70b8c57cae5c48058c14ce76fdf756f2aabb3739..31306e79d18e1e98cba7e2ee7f697ef303f91543 100644 |
--- a/src/math.js |
+++ b/src/math.js |
@@ -38,7 +38,7 @@ const $abs = MathAbs; |
function MathConstructor() {} |
%FunctionSetInstanceClassName(MathConstructor, 'Math'); |
const $Math = new MathConstructor(); |
-$Math.__proto__ = global.Object.prototype; |
+$Math.__proto__ = $Object.prototype; |
%SetProperty(global, "Math", $Math, DONT_ENUM); |
// ECMA 262 - 15.8.2.1 |