Hacker News new | past | comments | ask | show | jobs | submit login

> I have never seen an actual usecase for Map that isn’t solved better with plain old JS objects. Curious if anyone else has?

With a Map, you can easily and efficiently associate data with DOM nodes without changing them.




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

Search: