3 ms·
Ah my mistake. It’s been at least 5 years since I’ve written it. I’m honestly surprised that JS has moved no where on it considering all of the fancy things the
by vips7L 1y ago
Ah my mistake. It’s been at least 5 years since I’ve written it. I’m honestly surprised that JS has moved no where on it considering all of the fancy things they’ve been adding.
- pjmlp 1y agoIt has been proposed, but since there is all the process on how features get added into the standard, someone needs to champion it, and then there is the "at least two implementations" factor. https://github.com/tc39/proposal-pattern-matching https://github.com/tc39/proposal-pattern-matching