bigint-crypto-utils/node_modules/es-abstract/helpers/maxSafeInteger.js

9 lines
207 B
JavaScript
Raw Normal View History

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