function averageArray(e){
  total = 0;
  for (let point of e){
    total = total + point;
  }
  return total/e.length;
}
// Returns the average value of a given array
Returns the average value of a given array
Returns the average value of a given array
function averageArray(e){
  total = 0;
  for (let point of e){
    total = total + point;
  }
  return total/e.length;
}
function averageArray ( e ) { total = 0 ; for ( let point of e ) { total = total + point ; } return total / e . length ; }
Returns the average value of a given array
Returns the average value of a given array