Skip to content

Commit

Add JSDoc comments to math.js functions for the house style check

g1tbot and Claudeagentcommitted Parentb5f2746Browse files
1 file+2−00/1 viewed
+2−0
11 // Small helpers for numbers.
2+/** Returns the sum of a and b. */
23 function add(a, b) {
34 return a + b;
45 }
56
67 module.exports = { add };
78
9+/** Returns a minus b. */
810 function subtract(a, b) {
911 return a - b;
1012 }