Constnium/node_modules/es-abstract/helpers/maxSafeInteger.js
2022-06-23 02:27:43 +02:00

8 lines
205 B
JavaScript

'use strict';
var GetIntrinsic = require('get-intrinsic');
var $Math = GetIntrinsic('%Math%');
var $Number = GetIntrinsic('%Number%');
module.exports = $Number.MAX_SAFE_INTEGER || $Math.pow(2, 53) - 1;