The pre-increment operator is placed directly before the variable.
The operation begins by incrementing the variable by 1.
The new incremented value is returned by the operation to be used in another expression.
If the variable is a string, it is converted to a number.
For example, the following segment of code
var price = 5
var newPrice = (++price) + 3;
the value of 9 dollars would be stored in the variable newPrice.