function that accepts a single array of numbers and returns the sum of the numbers in the array code example Example: sum all elements in array javascript arr.reduce((a, b) => a + b)