Skip to content

Latest commit

 

History

History
8 lines (5 loc) · 215 Bytes

File metadata and controls

8 lines (5 loc) · 215 Bytes

Write an arrow function where it will do the following:

  1. Square each array element
  2. Calculate the sum of the squared elements
  3. Return the average of the sum of the squared elements

Print the result.