Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
netheril96
on June 6, 2017
|
parent
|
context
|
favorite
| on:
JSC loves ES6
But ES6 Map/Set is almost useless as it has no custom hash nor equality function. The key is either numeric, string, or object identity, not anyway better than the builtin {}.
pizlonator
on June 6, 2017
[–]
I've found them to be useful when I write ES6 code. I agree that custom hash and equality functions would make these classes a lot better.
saamyjoon
on June 6, 2017
|
parent
[–]
I agree too. I wonder if this has been discussed at TC39.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: