Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sort array javascript

let array = ['12'. '54'];
array.sort((a,b) => a -b);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #sort #array #javascript
ADD COMMENT
Topic
Name
4+1 =