Skip to content
14 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
7module.exports = { add };
Add subtract to math.js8
Add JSDoc comments to math.js functions for the house style check9/** Returns a minus b. */
Add subtract to math.js10function subtract(a, b) {
11 return a - b;
12}
13
14module.exports.subtract = subtract;