While method decirc is iterating over Object.keys - that is not going to output those.
Is there anything against using
"Object.getOwnPropertyNames()" ?
var keys = Object.getOwnPropertyNames(val)
for (i = 0; i < keys.length; i++) {
var key = keys[i]
decirc(val[key], key, stack, val)
}
Hi, some errors are having properties that are not enumerable. Yet can be circular. https://stackoverflow.com/questions/18277890/why-cant-i-see-the-keys-of-an-error-object
While method decirc is iterating over Object.keys - that is not going to output those. Is there anything against using "Object.getOwnPropertyNames()" ?