I agree with Oriol. We already have the proposal pattern matching, that has a very similar effect. I think that is better to improve pattern matching proposal in order to be able to match using ranges (or at least check if it's good to do) instead of create a new proposal.
On Fri, 31 Jan 2020 at 14:08, Oriol _ <[email protected]> wrote: > This sounds like https://github.com/tc39/proposal-pattern-matching > > El 31/1/20 a les 10:57, Sultan ha escrit: > > For example, the following: > > switch (value) { > case 0...9: break > case 'a'...'z': break > } > > > _______________________________________________ > es-discuss mailing > [email protected]https://mail.mozilla.org/listinfo/es-discuss > > > _______________________________________________ > es-discuss mailing list > [email protected] > https://mail.mozilla.org/listinfo/es-discuss >
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

