3 ms·
For "Switch statements don’t allow you to fall-through to the next case", you can combine multiple cases: when "a", "b" then doStuff()
by thegoleffect 15y ago
For "Switch statements don’t allow you to fall-through to the next case", you can combine multiple cases:
when "a", "b" then doStuff()