After checking on the w3c official website, I found that x-=y is equivalent to x = x-y; not x = y - x
x-=y is equivalent to x = x-y, established!
It is indeed my problem...
x-=y is equivalent to x = x-y, established!
It is indeed my problem...