News for hackers. Stuff that matters.

Ctrlmonster

Oh yeah my bad LOL. Yup that's the one.
Fyi if you're interested in making games on the web / with web tooling join the Web Game Dev Discord (we're over 2k devs in there).
Re:JavaScript weakmaps should be iterable on Wednesday August 21, 2024 @08:09AM (#41309455)
You can emulate this using Weakrefs and FinalizationRegistry:

https://gist.github.com/Ctrlmonster/1be65141ce0de62e9e099426...

(Use at your own discretion, never tested it beyond writing some Basic console.logs)