Phùng Quang Phi
New member
What will be the output of the following JavaScript code?
A. 4
B. 1
C. Error
D. 0
Code:
int a=4;
int b=1;
int c=0;
If(a==b)
document.write(a);
else if(a==c)
document.write(a);
else
document.write(c);
B. 1
C. Error
D. 0