JS mathmatic problem [SOLVED] | Sololearn: Learn to code for FREE!

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

4/22/2021 1:58:41 PM

FAITH

2 Answers

New Answer

+2

a+=b is same as a = a+b(5+2), now a is 7 then, console.log(a+b),7+2 = 9

0

Lily Mea Thank you sooo much!!