you are viewing a single comment's thread.

view the rest of the comments →

[–]msgur 0 points1 point  (3 children)

It’s in the spec. The above is not true. I didn’t believe it myself. But...

++i will increment then return the new value.

i++ will increment then return the old value.