+1 vote
in JavaScript by
What Does "1"+2+4 Evaluate To?

1 Answer

0 votes
by

Since 1 is a string, everything is a string, so the result is 124.

Related questions

+1 vote
asked Jul 8, 2021 in NumPy by rajeshsharma
0 votes
asked Dec 5, 2023 in Other by SakshiSharma
...