in JavaScript by
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.

Related questions

0 votes
asked May 21, 2019 in Mathematics by sheetalkhandelwal
0 votes
asked Jul 28, 2019 in R Language by Aarav2017
0 votes
asked Feb 8, 2020 in JAVA by rahuljain1
...