News for hackers. Stuff that matters.
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 {}.
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.
Re:JSC loves ES6 by saamyjoon on Tuesday June 06, 2017 @03:41AM (#14495455)
I agree too. I wonder if this has been discussed at TC39.