10 lines
142 B
JavaScript

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