What will be the output of the following code?
const num = 2;
let result = '';
switch (num) {
case 1:
result = 'One';
break;
case 2:
result = 'Two';
break;
case 3:
result = 'Three';
break;
default:
result = 'Other';
}
console.log(result);