re: JavaScript Quiz VIEW POST


Got 3. and 5. wrong, haha.

I supposed that the first operand would decide which implementation of + would be used, but I guess the rule is: string wins :D


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.


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

code of conduct - report abuse