Subtracts the second number from the first.
The number to subtract from (minuend).
The number to subtract (subtrahend).
The result of a - b.
a - b
subtract(10, 3); // returns 7subtract(3, 10); // returns -7subtract(-5, -2); // returns -3 Copy
subtract(10, 3); // returns 7subtract(3, 10); // returns -7subtract(-5, -2); // returns -3
Subtracts the second number from the first.