What is the output of 10+20+"30" in JavaScript?

What is the output of 10+20+“30” in JavaScript?

1 Like

The output would be: 3030

1 Like

It is 60

output:-3030 because its evaluate left to right and “30” is a string in JS.

1 Like