An array of numbers is given below. Sort it numerically in ascending order and print it to the output.
let arr = [2, 0, 100, 54, 66, 38];An array of numbers is given below. Sort it numerically in ascending order and print it to the output.
let arr = [2, 0, 100, 54, 66, 38];Sample Input 1:
Sample Output 1:
[ 0, 2, 38, 54, 66, 100 ]Create a free account to access the full topic