qauMaWeb/node_modules/core-js/es/json/stringify.js

12 lines
436 B
JavaScript
Raw Normal View History

2024-10-13 18:02:27 +08:00
require('../../modules/es.json.stringify');
var path = require('../../internals/path');
var apply = require('../../internals/function-apply');
// eslint-disable-next-line es/no-json -- safe
if (!path.JSON) path.JSON = { stringify: JSON.stringify };
// eslint-disable-next-line no-unused-vars -- required for `.length`
module.exports = function stringify(it, replacer, space) {
return apply(path.JSON.stringify, null, arguments);
};