Skip to Content

The plus plus operator ++ is a popular operator used in languages to increment a variable by one, except for Python.

In some languages, such as JavaScript, if the operator is placed before the variable name it increments the variable by 1 before changing modifying the operating variable, and if it is placed after the variable name it changes the original variable by incrementing it by one.