0 votes
in JavaScript by
In JavaScript, what will be the result of the problem: 2+5+“3”?

1 Answer

0 votes
by

Since 2 and 5 are integers, normal addition will be executed. 3 however is a string and hence, there will be concatenation. “” represents a string.

Related questions

0 votes
asked May 21, 2019 in Mathematics by sheetalkhandelwal
+3 votes
asked Jan 21, 2021 in C Plus Plus by SakshiSharma
...