added whole system from ola4doc
This commit is contained in:
+6
@@ -0,0 +1,6 @@
|
||||
'use strict';
|
||||
|
||||
if (!require('./is-implemented')()) {
|
||||
Object.defineProperty(Number, 'MAX_SAFE_INTEGER', { value: require('./'),
|
||||
configurable: false, enumerable: false, writable: false });
|
||||
}
|
||||
+3
@@ -0,0 +1,3 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = Math.pow(2, 53) - 1;
|
||||
+5
@@ -0,0 +1,5 @@
|
||||
'use strict';
|
||||
|
||||
module.exports = function () {
|
||||
return (typeof Number.MAX_SAFE_INTEGER === 'number');
|
||||
};
|
||||
Reference in New Issue
Block a user