réduire le JavaScript moyen

function average(nums) {
  	// nums.length is the important part
    return nums.reduce((a, b) => (a + b)) / nums.length;
}
fast_and_the_curious