Predict the output of the following. 

var a, b; 

a = ”0480″; 

b = 2828159; 

document.write(a+b);


Share with your friends
Call

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

Talk Doctor Online in Bissoy App