package.internals.native-raw-json.js Maven / Gradle / Ivy
The newest version!
'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;
});
© 2015 - 2024 Weber Informatics LLC | Privacy Policy