[Solved] what is the output of this “10”+20+30 ? in javascript


The answer to this question will be 102030.In the process of concatenation if a ‘+’ sign is encountered the elements to the right will be contacted as string

console.log("10" + 20 + 30) //102030
console.log(20 + 30 + "10") //5010
console.log(20 + 30 + "10" + 20 + 30) //50102030

1

solved what is the output of this “10”+20+30 ? in javascript