| Viewed 85 times

How I can Sort Numbers in Ascending Order in JavaScript?


I need a function that takes an array of numbers and returns a new array, sorted in ascending order (smallest to biggest). *Sort numbers array in ascending order. *Return a new array of sorted numbers.