Index: src/harmony-math.js |
diff --git a/src/harmony-math.js b/src/harmony-math.js |
index 4a8d95bc01a997b02512ac20f76a0e6a0ec8eb61..fa4725f8e767066d7573e67632b9e8679d03f6f9 100644 |
--- a/src/harmony-math.js |
+++ b/src/harmony-math.js |
@@ -221,6 +221,11 @@ function MathLog1p(x) { |
function ExtendMath() { |
%CheckIsBootstrapping(); |
+ // Set up math constants. |
+ InstallConstants($Math, $Array( |
+ "TAU", 6.283185307179586 |
+ )); |
+ |
// Set up the non-enumerable functions on the Math object. |
InstallFunctions($Math, DONT_ENUM, $Array( |
"sign", MathSign, |