Menu
×
×
Correct!
Exercise:Create a
@(6)(fruits) {
@(4) "Banana":
alert("Hello")
break;
@(4) "Apple":
alert("Welcome")
break;
}
switch(fruits) {
case "Banana":
alert("Hello")
break;
case "Apple":
alert("Welcome")
break;
}
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 67 exercises.
Are you sure you want to continue?