Categories

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

1 Answer

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

Related questions

Madanswer
Nov 1, 2019 in Other
Feb 8 in JAVA
Oct 31, 2019
...