Scratch repository for testing automations.
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 checks | 1 | // Small helpers for numbers. |
| Add JSDoc comments to math.js functions for the house style check | 2 | /** Returns the sum of a and b. */ |
| Add math helpers, tests and checks | 3 | function add(a, b) { |
| 4 | return a + b; | |
| 5 | } | |
| 6 | ||
| Catch up with main | 7 | /** Returns the product of a and b. */ |
| 8 | function multiply(a, b) { | |
| 9 | return a * b; | |
| 10 | } | |
| Add subtract to math.js | 11 | |
| Add JSDoc comments to math.js functions for the house style check | 12 | /** Returns a minus b. */ |
| Add subtract to math.js | 13 | function subtract(a, b) { |
| 14 | return a - b; | |
| 15 | } | |
| 16 | ||
| Catch up with main | 17 | module.exports = { add, multiply, subtract }; |
This file's history is long; its oldest lines are credited to the oldest commit read.