Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

You can't use a WeakMap or a WeakSet, but you can use a WeakRef or a FinalizationRegistry.


I did not know about these things. Looks cool!




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: