in JavaScript by
Q:
How About 2+5+"8"?

► Click here to show 1 Answer

0 votes
by

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

JavaScript
Learn More with Madanswer

Related questions

0 votes
asked Jan 27, 2020 in JAVA by rahuljain1
...