News for hackers. Stuff that matters.
Re:JavaScript Pattern Matching Proposal by dvdhnt on Wednesday April 25, 2018 @10:48AM (#16921969)
So, there are example use cases in the proposal [1]. I think it's meant to standardize how we handle conditional inputs or shapes of inputs (some people use if statements, some switch, and others store it all in an object and use keys).

1. https://github.com/tc39/proposal-pattern-matching#motivating...

There are no comments on this comment yet.