Index: src/v8natives.js |
diff --git a/src/v8natives.js b/src/v8natives.js |
index 72d6a8464f5c48d28f328486fdac22e65d79daea..380c871e040ef47d263fbde0193d2545903359c6 100644 |
--- a/src/v8natives.js |
+++ b/src/v8natives.js |
@@ -9,9 +9,6 @@ |
// var $Number = global.Number; |
// var $Function = global.Function; |
// var $Array = global.Array; |
-// |
-// in math.js: |
-// var $floor = MathFloor |
var $isNaN = GlobalIsNaN; |
var $isFinite = GlobalIsFinite; |
@@ -1655,8 +1652,7 @@ function NumberIsNaN(number) { |
function NumberIsSafeInteger(number) { |
if (NumberIsFinite(number)) { |
var integral = TO_INTEGER(number); |
- if (integral == number) |
- return MathAbs(integral) <= $Number.MAX_SAFE_INTEGER; |
+ if (integral == number) return $abs(integral) <= $Number.MAX_SAFE_INTEGER; |
} |
return false; |
} |