Skip to content

Commit c82d8e4

Browse files
committed
docs: quote NaN in stats/incr/nansumprod JSDoc summary
The JSDoc summary in `lib/main.js` wrote `NaN` unquoted, making it the only documentation surface in the package to do so: `README.md`, `lib/index.js`, `docs/repl.txt` and `docs/types/index.d.ts` all already backtick it. 69 of the 72 `nan*` members (95.8%) backtick `NaN` in their JSDoc summary, so this brings the file in line with both its siblings and the rest of its own package. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FFCQ8XaJ5NUDv9oDpHF2Vj
1 parent dae0479 commit c82d8e4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • lib/node_modules/@stdlib/stats/incr/nansumprod/lib

‎lib/node_modules/@stdlib/stats/incr/nansumprod/lib/main.js‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ var isnan = require( '@stdlib/math/base/assert/is-nan' );
2727
// MAIN //
2828

2929
/**
30-
* Returns an accumulator function which incrementally computes a sum of products, ignoring NaN values.
30+
* Returns an accumulator function which incrementally computes a sum of products, ignoring `NaN` values.
3131
*
3232
* @returns {Function} accumulator function
3333
*

0 commit comments

Comments
 (0)