Why is the result of JS -3? a in JS does not seem to change with subsequent assignments
-3
a
c:
int a=3; a+=a-=a*a;