maxSafeInteger.js 205 B

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