massive update, probably broken
[dotfiles/.git] / .config / coc / extensions / node_modules / coc-prettier / node_modules / core-js / es / json / stringify.js
1 require('../../modules/es.json.stringify');
2 var path = require('../../internals/path');
3 var apply = require('../../internals/function-apply');
4
5 // eslint-disable-next-line es/no-json -- safe
6 if (!path.JSON) path.JSON = { stringify: JSON.stringify };
7
8 // eslint-disable-next-line no-unused-vars -- required for `.length`
9 module.exports = function stringify(it, replacer, space) {
10   return apply(path.JSON.stringify, null, arguments);
11 };