Numerically sorted array

Report a typo

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 ]
Write a program in JavaScript
let arr = [2, 0, 100, 54, 66, 38];
___

Create a free account to access the full topic