Are you referring to the following two statements?
// This cannot be true with the following statement.
addSubtract(1)(2)(3) === 0;// This cannot be true with the preceding statement.
addSubtract(1)(2)(3)(4)(5)(6) === 5;
If you disagree, please provide an example function addSubtract
such that both of the above statements are true. Please note the use of ===
and not just ==
.