DEV Community

Discussion on: JavaScript Quiz

Collapse
 
kayis profile image
K

Both convert the number to string and do a string concatination, even in one the number is the first operand and in the other the string is the first operand.

Thread Thread
 
Sloan, the sloth mascot
Comment deleted
 
kayis profile image
K

Ah, yes.

I was talking about 3 and 5 :D

Thread Thread
 
sait profile image
Sai gowtham

Oh i thought it was 5 and 6.
yeah 3 and 5 are Strings😁