1.

Predict the output of the following. var a, b; a = ”0480″;b = 2828159; document.write(a+b);

Answer»

The output is “04802828159”. That is the string “0480″ concatenates(joins) the number 2828159. The output is a string, not a number.



Discussion

No Comment Found