Re:Pipe Operator (|>) For JavaScript
by hajile on Friday January 20, 2023 @11:51AM
(#34455873)
I'd far rather save that for an alternative switch expression with pattern matching.
[ Parent
| on HN ]
Having been watching, and a couple times playing with Rust... would definitely like a similar pattern matching system in JS. I still feel the C# syntax for this feels a bit alien `varname switch {...}`.