source: node_modules/core-js-pure/es/json/stringify.js@ e48199a

main
Last change on this file since e48199a was d24f17c, checked in by Aleksandar Panovski <apano77@…>, 15 months ago

Initial commit

  • Property mode set to 100644
File size: 492 bytes
Line 
1'use strict';
2require('../../modules/es.date.to-json');
3require('../../modules/es.json.stringify');
4var path = require('../../internals/path');
5var apply = require('../../internals/function-apply');
6
7// eslint-disable-next-line es/no-json -- safe
8if (!path.JSON) path.JSON = { stringify: JSON.stringify };
9
10// eslint-disable-next-line no-unused-vars -- required for `.length`
11module.exports = function stringify(it, replacer, space) {
12 return apply(path.JSON.stringify, null, arguments);
13};
Note: See TracBrowser for help on using the repository browser.