Answers for "Pass the 'find Average' into the reduce method"

3

reduce average javascript

function average(nums) {
  	// nums.length is the important part
    return nums.reduce((a, b) => (a + b)) / nums.length;
}
Posted by: Guest on December-08-2020

Code answers related to "Pass the 'find Average' into the reduce method"

Code answers related to "Javascript"

Browse Popular Code Answers by Language