title: How to calculate average in Javascript using Arrays and Function?
body: <p><a href="https://i.stack.imgur.com/W6KbI.png" rel="nofollow noreferrer">enter image description here</a></p>
  <p>Hi, I just learnt about Javascript Functions and <strong>would like to know the method for finding out average using Arrays and Functions in JS.</strong>
  I have linked a screenshot of my code, can you please help me?</p>