16 lines
368 B
TypeScript
16 lines
368 B
TypeScript
|
function getSecurity(level) {
|
|||
|
switch(level){
|
|||
|
case 0: /*Zero*/
|
|||
|
case 1: /*One*/
|
|||
|
case 2: /*two*/
|
|||
|
// Leading comments
|
|||
|
return "Hi";
|
|||
|
case 3: /*three*/
|
|||
|
case 4: /*four*/
|
|||
|
return "hello";
|
|||
|
case 5: /*five*/
|
|||
|
default: /*six*/
|
|||
|
return "world";
|
|||
|
}
|
|||
|
|
|||
|
}
|