Skip to content

Commit

Revert "Add subtract to math.js": it was pushed to main by mistake; it belongs in pull request #25

syntaqxcommitted Parent8382ebcBrowse files
1 file+0−50/1 viewed
+0−5
44 return a + b;
55 }
66
7−/** Returns a minus b. */
8−function subtract(a, b) {
9− return a - b;
10−}
11−
127 /** Returns the product of a and b. */
138 function multiply(a, b) {
149 return a * b;