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

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.

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

Related questions

0 votes
asked Jan 27, 2020 in JAVA by rahuljain1
+2 votes
asked Jan 21 in C Plus Plus by SakshiSharma
0 votes
asked Oct 31, 2019 by MBarbieri
0 votes
asked May 21, 2019 in Mathematics by sheetalkhandelwal
+1 vote
asked Jan 16, 2020 in QuickTest Professional (QTP) by JackTerrance
0 votes
...