DEV Community

Discussion on: JS: Maps can store any type of key

Collapse
bias profile image
Tobias Nickel

yes, it is very good to store meta data about objects, without modifying the object. I think you will love WeakMap for that.