Re:JSC loves ES6
by netheril96 on Monday June 05, 2017 @10:46PM
(#14494316)
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 {}.
[ Parent
| on HN ]
Re:JSC loves ES6
by pizlonator on Monday June 05, 2017 @11:10PM
(#14494435)
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.