Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

ordenar numeros array javascript

numeros = [9,6,4,3,2,1,7,95,3,2,1]
console.log(numeros.sort());
//[1, 1, 2, 2, 3, 3, 4, 6, 7, 9, 95]
 
PREVIOUS NEXT
Tagged: #ordenar #numeros #array #javascript
ADD COMMENT
Topic
Name
1+9 =