PromoCursed/node_modules/core-js/internals/native-raw-json.js
2024-08-20 23:25:37 +04:00

10 lines
283 B
JavaScript

'use strict';
/* eslint-disable es/no-json -- safe */
var fails = require('../internals/fails');
module.exports = !fails(function () {
var unsafeInt = '9007199254740993';
var raw = JSON.rawJSON(unsafeInt);
return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
});