4 ms·
or if he doesn't even feel like passing a custom comparator every time and just wants to default to increasing numerical order: (function(){var a=function(a,b)
by md224 14y ago
or if he doesn't even feel like passing a custom comparator every time and just wants to default to increasing numerical order:
(function(){var a=function(a,b){return a>b},b=Array.prototype.sort;Array.prototype.sort=function(){return b.call(this,a)}})();