| Viewed 149 times

How to Find the Smallest and Biggest Numbers in JavaScript?


I need a function that takes an array of numbers and returns both the minimum and maximum numbers, in that order.