Math quest | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Math quest

var a=4 a+=7-a alert(a) Output 7 How to define this code?

19th Nov 2018, 5:06 AM
Rex Hung
2 Answers
+ 1
Do you mean the explanation? If yes then, it's a= a+7-a which is 7
19th Nov 2018, 5:11 AM
Шащи Ранжан
Шащи Ранжан - avatar
0
Thanks
19th Nov 2018, 5:12 AM
Rex Hung