cleanup...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>
This commit is contained in:
Alex A. Naanou 2025-12-23 19:42:37 +03:00
parent 72e597d667
commit de0e48eceb

View File

@ -37,7 +37,8 @@ var RECURSIVE = '<RECURSIVE%>'
// XXX add function support...
// XXX need to destinguish between map key and value in path...
// XXX BUG: using non-whitespace as indent breaks the depth of the first
// element in sequences -- breaks .trim*() in Map/Set/Object...
// or last elements in sequences
// ...breaks .trim*() in Map/Set/Object...
var serialize =
module.serialize =
function(obj, path=[], seen=new Map(), indent, depth=0){