Trần Thị Mai
New member
What will be the output of the following JavaScript code?
A. true
B. false
C. runtime error
D. logical error
Code:
function compare()
{
int a=1;
char b=1;
if(a.tostring()===b)
return true;
else
return false;
}
B. false
C. runtime error
D. logical error