10 lines
283 B
JavaScript
Raw Permalink Normal View History

2024-08-24 20:48:14 +02:00
'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;
});