Daniel William
New member
What will be the output of the following JavaScript code?
A. 1
B. 0
C. runtime error
D. compiler error
Code:
int a=1;
if(a!=null)
return 1;
else
return 0;
B. 0
C. runtime error
D. compiler error