Returns the negation of a number.
The number to negate.
The negated value of the input.
negate(5); // returns -5negate(-3); // returns 3negate(0); // returns -0 Copy
negate(5); // returns -5negate(-3); // returns 3negate(0); // returns -0
Returns the negation of a number.