0
What is the output of rhis code?
I have seen this code: var e = 3; switch(c) { case 1: alert("JS"); break; case 2: alert("CSS"); break; case 3: alert("HTML"); break; }
4 Answers
+ 4
You have not defined 'c' in switch. If that was 'e' then it will print HTML in the alert box.
+ 2
Pls revise this topic,
https://www.sololearn.com/learn/JavaScript/1139/
Its alert("HTML"); *after correction of variable
copy paste code into playground and see answer....
0
Please answer with a web code
0
Thank you Avinesh



