For example this:
var a = 123; var b = a++;
now a contains 124 and b contains 123
a
124
b
123
++ can be used as post-increment operator like in your example, or it could be used as a pre-increment operator if used before variable.
++
var b = ++a;
Then first the variable a will be incremented, then the incremented value is assigned to b.