Vidyalelo
JavaScript · Q21

Basic And Variables

Programming · JavaScript · question 21

Q21

Consider the following snippet code var string1 = ”123”; var intvalue = 123; alert( string1 + intvalue ); The result would be

A.
123246
B.
246
C.
123123
Answer
D.
Exception

Answer: Option C

Solution

Answer: Option C
No explanation is given for this question Let's Discuss on Board