UNPKG

283 BJavaScriptView Raw
1'use strict';
2/* eslint-disable es/no-json -- safe */
3var fails = require('../internals/fails');
4
5module.exports = !fails(function () {
6 var unsafeInt = '9007199254740993';
7 var raw = JSON.rawJSON(unsafeInt);
8 return !JSON.isRawJSON(raw) || JSON.stringify(raw) !== unsafeInt;
9});