News for hackers. Stuff that matters.
Re:Why I Like Using Maps (and WeakMaps) for Handling DOM Nodes by panzerboiler on Saturday May 06, 2023 @03:19AM (#35839017)
Because a Map is an Object. It has properties and methods. The only way to provide a safe and clean namespace for your keys is to provide an explicit API. It also supports keys that can be not only strings or symbols.

There are no comments on this comment yet.