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

Function toDeepVirtualJSONArray

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

Source from the content-addressed store, hash-verified

505 result.push(function (jsonObject){
506 var depth = 0;
507 function toDeepVirtualJSONArray() {
508 if (++depth >= 1024)
509 return [];
510 var r = [];
511 r.toJSON = toDeepJSONArray;
512 return [r];
513 }
514 return jsonObject.stringify(toDeepVirtualJSONArray());
515 });
516 var fullCharsetString = "";

Callers 1

createTestsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected