The nesting problem with “+=” (javascript)

前端 未结 0 1627
醉酒成梦
醉酒成梦 2021-01-23 19:18

Why is the result of JS -3?
a in JS does not seem to change with subsequent assignments

c:

int a=3;
a+=a-=a*a;
相关标签:
回答
  • 消灭零回复
提交回复
热议问题