Running the following code:
And then the following produces errors or does not return the correct value:
+= does not change the value
run: num += 5
5
Not assignable at 'num `+= 5'
out: 5
-= does not change the value
run: num -= 5
5
Not assignable at 'num `-= 5'
out: 5
*= does not change the value
/= produces an error
run: num /= 5
expecting scope at 'num `/= 5'
break
Running the following code:
And then the following produces errors or does not return the correct value:
+= does not change the value
-= does not change the value
*= does not change the value
/= produces an error