Node-Red configuration
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

native-raw-json.js 283B

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