Home »

How about 2+5+”8″?

Question ListCategory: JavascriptHow about 2+5+”8″?
jully882 author asked 9 years ago
1 Answers
ethanbrown author answered 8 years ago

Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, it’s concatenation,
so 78 is the result.

Please login or Register to Submit Answer