Given an array of three numbers , create a function average that accepts the array as a parameter and returns the average of the three numbers in the Array.
function average(numberArray){
// write your code here
}
let numbers = [1,2,3];
console.log(average(numbers)); // SHOULD PRINT 2