Re: Rw-asking: a weaklist that doesn't work and an object with elements that can't be copied or queried
Big Al <[email protected]> Sun, 21 Feb 2021 07:08:49 -0500
| Newsgroups | gmane.comp.mozilla.general |
|---|---|
| Message-ID | <[email protected]> |
On 2/21/21 2:54 AM, this is what R.Wieser wrote:
> Hello all,
>
> Over two weeks ago I posted a question with the subject "JS log-dumping an
> object and circular references problem". Although I've been able to create
> something that seems to work, two questions remain :
>
> A "weaklist" that could solve the "circular references" problem does not
> want to have objects added to it.
> Reference : seen.add(value))
>
> Trying to copy one of the objects elements into a variable fails. Directly
> trying to inspect the element fails to
> Reference : var value = arr[item]
> Also : typeof(arr[item])
>
> I would appriciate it if someone could explain the failure of either of the
> above to me.
>
> Regards,
> Rudy Wieser
>
>
Wrong Newsgroup?!
This is Mozilla General and usually that implies Firefox or Thunderbird.
--
Linux Mint Cinnamon 20.1 64bit, Dell Inspiron 5570 laptop
Quad Core i7-8550U, 16G Memory, 512G SSD, 750G & 1TB HDDs
____ _ _ _
| __ )(_) __ _ / \ | |
| _ \| |/ _` | / _ \ | |
| |_) | | (_| | / ___ \| |
|____/|_|\__, | /_/ \_\_|
|___/