Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
gildas
on July 1, 2021
|
parent
|
context
|
favorite
| on:
An efficient way to make hash maps with insertion ...
> 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:
With a Map, you can easily and efficiently associate data with DOM nodes without changing them.