Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

sort array javascript

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