Dec 4, 2019 in JavaScript
Q: How About 2+5+"8"?

1 Answer

0 votes
Dec 4, 2019

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

Click here to read more about JavaScript
Click here to read more about Insurance
...