Last updated 4 years ago
Was this helpful?
const findAverage = (nums) => nums.reduce((a, c) => a + c) / nums.length;