MCPcopy Create free account
hub / github.com/nodejs/node / toDeepVirtualJSONObject

Function toDeepVirtualJSONObject

deps/v8/test/webkit/resources/JSON-stringify.js:496–502  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

494 result.push(function (jsonObject){
495 var depth = 0;
496 function toDeepVirtualJSONObject() {
497 if (++depth >= 700)
498 return {};
499 var r = {};
500 r.toJSON = toDeepVirtualJSONObject;
501 return {recurse: r};
502 }
503 return jsonObject.stringify(toDeepVirtualJSONObject());
504 });
505 result.push(function (jsonObject){

Callers 1

createTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected