ordenar numeros array javascript

Solutions on MaxInterview for ordenar numeros array javascript by the best coders in the world

showing results for - "ordenar numeros array javascript"
Manon
28 Oct 2019
1numeros = [9,6,4,3,2,1,7,95,3,2,1]
2console.log(numeros.sort());
3//[1, 1, 2, 2, 3, 3, 4, 6, 7, 9, 95]