This commit is contained in:
2021-11-21 11:18:28 +01:00
parent 7a358eb836
commit 230b10b2a3
9339 changed files with 892519 additions and 62 deletions

View File

@@ -0,0 +1,10 @@
"use strict";
if (!require("./is-implemented")()) {
Object.defineProperty(Number, "MAX_SAFE_INTEGER", {
value: require("./"),
configurable: false,
enumerable: false,
writable: false
});
}

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = Math.pow(2, 53) - 1;

View File

@@ -0,0 +1,3 @@
"use strict";
module.exports = function () { return typeof Number.MAX_SAFE_INTEGER === "number"; };