Prefix operators are operators that are prefixed to an
This causes the value of the operand to be incremented by 1.
Its new value is then returned.
This is the same but the value of the operand is decremented
Returns the logical NOT operation on the operand. A true
operand returns false, a false operand returns true. Also
known as the bang operand.
Returns the compliment of the operand. The returned value is
the operand with its bits reversed (1's become 0's, 0's
This outputs the number 6. The value of bart is now 6.
This outputs 0 (false).
Note: To report broken links or to submit your projects,
tutorials please email to Webmaster