esnext.json.is-raw-json.js 413 B

1234567891011
  1. 'use strict';
  2. var $ = require('../internals/export');
  3. var NATIVE_RAW_JSON = require('../internals/native-raw-json');
  4. var isRawJSON = require('../internals/is-raw-json');
  5. // `JSON.parse` method
  6. // https://tc39.es/proposal-json-parse-with-source/#sec-json.israwjson
  7. // https://github.com/tc39/proposal-json-parse-with-source
  8. $({ target: 'JSON', stat: true, forced: !NATIVE_RAW_JSON }, {
  9. isRawJSON: isRawJSON
  10. });