Skip to content

Commit

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

g1tbot and Claudeagentcommitted Parentb943e9aBrowse 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
7+/** Returns the product of a and b. */
68 function multiply(a, b) {
79 return a * b;
810 }