switch
var n = 1
switch (n) {
case 1:
console.log('one')
break
case 2:
console.log('two')
break
default:
console.log('three')
}
var n = 1
switch (n) {
case 1:
console.log('one')
break
case 2:
console.log('two')
break
default:
console.log('three')
}