Home
last modified time | relevance | path

Searched refs:cycleReplacer (Results 1 – 2 of 2) sorted by relevance

/third_party/node/deps/npm/node_modules/json-stringify-safe/
Dstringify.js4 function stringify(obj, replacer, spaces, cycleReplacer) { argument
5 return JSON.stringify(obj, serializer(replacer, cycleReplacer), spaces)
8 function serializer(replacer, cycleReplacer) { argument
11 if (cycleReplacer == null) cycleReplacer = function(key, value) {
21 if (~stack.indexOf(value)) value = cycleReplacer.call(this, key, value)
DCHANGELOG.md8 - Fixes calling the `cycleReplacer` function in the proper context (`thisArg`).