0

JS mathmatic problem [SOLVED]

Is there value of ❝ a ❞ 7 ? Because the output is 9. But how!! Pls explain. https://code.sololearn.com/WGWlmEbG1FXl/?ref=app

22nd Apr 2021, 1:58 PM
Muhammad Imtiaz
Muhammad Imtiaz - avatar
2 odpowiedzi
+ 2
a+=b is same as a = a+b(5+2), now a is 7 then, console.log(a+b),7+2 = 9
22nd Apr 2021, 2:01 PM
durian
durian - avatar
0
Lily Mea Thank you sooo much!!
22nd Apr 2021, 2:28 PM
Muhammad Imtiaz
Muhammad Imtiaz - avatar