Skip to content

Commit

Add subtract to math.js

syntaqxcommitted Parenta05c700Browse files
1 file+5−00/1 viewed
+5−0
44 return a + b;
55 }
66
7+/** Returns a minus b. */
8+function subtract(a, b) {
9+ return a - b;
10+}
11+
712 /** Returns the product of a and b. */
813 function multiply(a, b) {
914 return a * b;