| Viewed 73 times

How I can Find the Largest Number in an Array in JavaScript?


I need to Create a function that takes an array of numbers. Return the largest number in the array. * Expect either a positive number or zero (there are no negative numbers).