Question #14919

what is the output of this segment code for javascript:

var x=11;
document.writeln;
x = 4;
document.writeln;
var y = 13;
document.writeln(y);
y = x;
document.writeln(x+y);

Expert's answer

The call of function without brackets is a function itself, so nothing goes into
output then.

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS