4 ms·
Why? To me it seems pretty aligned with the "feel" of destructuring.
by kristiandupont 9y ago
Why? To me it seems pretty aligned with the "feel" of destructuring.
- c0nfused 9y agoIn my mind there are several valid options out there now: 1. Regex style: new match(input, options); or built in function match(foo, bar); or like switch match (foo){ cases } But, to have the switch statement syntax and return a value seems like a less than good way to implement this.