Javascript Array sortByNumber()

Description

Javascript Array sortByNumber()


Array.prototype.sortByNumber = function() {
 return this.sort(function(a, b) { return a - b; }); 
}



PreviousNext

Related