Question: var a = b ; switch ( a ) { case 1 : document.write ( a ) ; break; case 2 : document.write
var ;
switcha
case :
document.writea;
break;
case :
document.writeb;
break;
case :
document.writec;
break;
case :
document.writed;
break;
default:
document.writee;
break;
What will be output for above code?
a
d
e
c
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
