stringify.js 380 B

12345678910
  1. require('../../modules/es.json.stringify');
  2. var core = require('../../internals/path');
  3. // eslint-disable-next-line es/no-json -- safe
  4. if (!core.JSON) core.JSON = { stringify: JSON.stringify };
  5. // eslint-disable-next-line no-unused-vars -- required for `.length`
  6. module.exports = function stringify(it, replacer, space) {
  7. return core.JSON.stringify.apply(null, arguments);
  8. };