Phác Chí Huấn
New member
What will be the output of the following JavaScript code?
A. true
B. false
C. runtime error
D. compilation error
Code:
function compare()
{
int num=2;
char b=2;
if(a==b)
return true;
else
return false;
}
B. false
C. runtime error
D. compilation error