34,333
edits
Changes
→Incrementing and Decrementing Values
</table>
=== Unary Operators - Incrementing and Decrementing Values ===
In JavaScript programming it is extremely common to need to incremement and decrement values assigned to variables. The long handed way fo doing this would be:
</pre>
A quicker way to perform this is to use the ++ and -- operators- better known as ''unary operators''. The syntax for this is as follows:
<pre>