8 lines
92 B
JavaScript

switch(foo) {
// foo
case 1:
// falls through
case 2:
doIt();
}