Now even Java has pattern matching, what's Javascript's excuse?
Literally the only feature preventing Typescript from being my perfect language.
https://github.com/tc39/proposal-pattern-matching
I'm not sure if it's stalled or not. But it's being discussed.