Changes

Jump to: navigation, search

JavaScript Operators

57 bytes added, 13:27, 20 April 2007
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>

Navigation menu