|
|
|
|
|
by IshKebab
1204 days ago
|
|
I don't think it's that bad but I wish they'd focus more on improving the terrible JS web API rather than adding language features. I mean they are adding features like static initialisation blocks when we only just got String.replaceAll(), and they somehow managed to fuck that API up despite it being explicitly a replacement for an existing bad API! Where are all the containers? Sorted sets/maps? Why can't I even map an iterator? |
|
That's W3C’s job, not ECMA’s.
> Where are all the containers?
?
> Sorted sets/maps?
Sets and Maps are sorted (by insertion order)
> Why can't I even map an iterator?
It's coming, but someone will likely be exhausted by that addition. https://github.com/tc39/proposal-iterator-helpers