What's the error?


#1

var user=prompt("a");
switch(user) {
case 'A':
console.log("uppercase");
break;
case 'a':
console.log("lower case");
break;
case 'b':
console.log("none of ur business");
break;
default:
console.log("thast's it")

        }

the program suggests to use break in each case which i suppose i have


#2

Make sure you are breaking out of the default case.


#3

I tried that too but it doesn't work