Show index of circular reference
piranna opened this issue · comments
On https://github.com/marcello3d/node-tosource/blob/master/tosource.js#L23, instead of return just {$circularReference:1}
it would be good to return the actual index of the circular reference, so they can be identified as different ones.
Not a bad idea. Feel free to submit a pull request!
This is already fixed in master.