switch-statement.js (246B)
1 export {}; 2 3 switch (foo) { 4 case "zero": 5 var zero; 6 case "one": 7 let one; 8 case "two": 9 let two; 10 case "three": { 11 let three; 12 } 13 } 14 15 switch (foo) { 16 case "": 17 function two(){} 18 } 19 switch (foo) { 20 case "": 21 class three {} 22 }