syntax for case ranges

Oriol _ oriol-bugzilla at hotmail.com
Fri Jan 31 14:07:58 UTC 2020


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 list
es-discuss at mozilla.org<mailto:es-discuss at mozilla.org>
https://mail.mozilla.org/listinfo/es-discuss


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20200131/ad31cc22/attachment.html>


More information about the es-discuss mailing list