×
×
Correct!
Add a section that will alert("Neither")
if
switch(fruits) {
case "Banana":
alert("Hello")
break;
case "Apple":
alert("Welcome")
break;
@(8)
alert("Neither");
}
switch(fruits) {
case "Banana":
alert("Hello")
break;
case "Apple":
alert("Welcome")
break;
default:
alert("Neither");
}
Not CorrectClick here to try again. Correct! |
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?