1.5.2 Unary and Prefix
Prefix operators are operators that are prefixed to an expression.
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 by 1.
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 become 1’s).
This outputs the number 6. The value of bart is now 6.
This outputs 0 (false).