simone-sanfratello / json-stringify-extended

JSON.stringify any data types
17 stars 1 forks source link

circularity in arrays #4

Closed haifeng239 closed 6 years ago

haifeng239 commented 6 years ago

this was fixed before


list = ['a', 'b', 'c'];
data = [
  {a: list},
  {b: list}
];```

but not this
list = ['a', 'b', 'c'];
data = [
  {a: list},
  {a: list}
];```
simone-sanfratello commented 6 years ago

great fix! thanks!