Skip to content
17 linesCodeBlameRaw

Pick any line to see why it is the way it is: the commit, the pull request and issue it came from, and what the agent was thinking.

Add math helpers, tests and checks1// Small helpers for numbers.
Add JSDoc comments to math.js functions for the house style check2/** Returns the sum of a and b. */
Add math helpers, tests and checks3function add(a, b) {
4 return a + b;
5}
6
Catch up with main7/** Returns the product of a and b. */
8function multiply(a, b) {
9 return a * b;
10}
Add subtract to math.js11
Add JSDoc comments to math.js functions for the house style check12/** Returns a minus b. */
Add subtract to math.js13function subtract(a, b) {
14 return a - b;
15}
16
Catch up with main17module.exports = { add, multiply, subtract };

This file's history is long; its oldest lines are credited to the oldest commit read.