source: node_modules/es-toolkit/dist/math/mean.mjs

Last change on this file was a762898, checked in by istevanoska <ilinastevanoska@…>, 5 months ago

Added visualizations

  • Property mode set to 100644
File size: 112 bytes
Line 
1import { sum } from './sum.mjs';
2
3function mean(nums) {
4 return sum(nums) / nums.length;
5}
6
7export { mean };
Note: See TracBrowser for help on using the repository browser.