The calculation is performed from Left to Right that’s why we get
console.log(45+45+”10”) as 9010console.log(“10”+45+45) as 104545
That’s interesting behaviour!
9010