Re: JS log-dumping an object and circular references problem

Dave Royal<[email protected]> Mon, 08 Feb 2021 08:01:03 -0600
Newsgroups gmane.comp.mozilla.general
Message-ID <[email protected]>
On 8 Feb 2021 14:07:10 +0100 R.Wieser wrote:
>Dave,
>
>> Seen this?
>> <https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Errors/Cyclic_object_value>
>
>Yep.   Its the example filtering code at the bottom using a WeakList that I 
>tried - and which did not work due to to the "seen.add(value)" throwing an 
>error.
>
>> It can't be infinitely recursive, surely?
>
>Yes it can ! :-)

I meant for a valid response, not theoretically.
-- 
(Remove numerics from email address)