0

Why increment operator is not working???

Please see the code below: Also please can you answer what is operand and what is object???? https://code.sololearn.com/WeaDOJmtXcJX/?ref=app

12th Jun 2020, 7:13 PM
Himanshu Rai
Himanshu Rai - avatar
2 odpowiedzi
+ 4
You can not increase 5, because it's a constant. You can only change a variable. For example: var x = 5; ++x;
12th Jun 2020, 7:18 PM
HonFu
HonFu - avatar
+ 1
Ok thanks
12th Jun 2020, 7:29 PM
Himanshu Rai
Himanshu Rai - avatar