2 * Subtract two numbers.
7 * @param {number} minuend The first number in a subtraction.
8 * @param {number} subtrahend The second number in a subtraction.
9 * @returns {number} Returns the difference.
15 function subtract(minuend, subtrahend) {
17 if (minuend !== undefined) {
20 if (subtrahend !== undefined) {
21 result = result === undefined ? subtrahend : (result - subtrahend);
26 module.exports = subtract;