Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Fixed
-
None
-
None
-
None
Description
Should support this
switch (foo) {
// use a regex to match
case /a|b/:
...
// use a value
case "hello":
...
// use a list of values
case ['d', 'e']:
...
// use a type
case SomeType:
...
}