hexo/node_modules/es-abstract/helpers/maxSafeInteger.js

9 lines
213 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;