profile
viewpoint

Ask questionsFinalization group iterator vs Array

Why is the cleanup callback called with a custom iterator, as opposed to a simple Array of the relevant elements? An Array would seem simpler.

tc39/proposal-weakrefs

Answer questions devsnek

Iterator that copies the elements is a good idea, I'd be okay with that as well.

useful!

Related questions

No questions were found.
Github User Rank List