Duyên Trương
New member
What will be the output of the following JavaScript code?
A. 10
B. 0
C. 1
D. Undefined
Code:
Int a=1;
if(a>10)
{
document.write(10);
}
else
{
document.write(a);
}
B. 0
C. 1
D. Undefined