You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
Clement Denis 8d2a02f417 add new picine-discovery exercises 4 years ago
..
README.md add new picine-discovery exercises 4 years ago

README.md

Average

Instructions

Declare the function average that compute the average of all the values from the given array

If the array is empty, average should return NaN

Example:

average([1, 1, 4]) // -> 2
average([1, 4, 8, 12]) // -> 6.25