what is out put console.log(45+45+"10");
Ravi Patel
Select an image from your device to upload
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!