GoScrobble/web/node_modules/es-abstract/helpers/maxSafeInteger.js

9 lines
205 B
JavaScript
Raw Normal View History

2022-04-25 02:47:15 +00:00
'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;