Opal-Estate-Pro/node_modules/es5-ext/number/is-safe-integer/is-implemented.js
2019-09-13 11:27:52 +07:00

8 lines
244 B
JavaScript

"use strict";
module.exports = function () {
var isSafeInteger = Number.isSafeInteger;
if (typeof isSafeInteger !== "function") return false;
return !isSafeInteger("23") && isSafeInteger(34232322323) && !isSafeInteger(9007199254740992);
};