File manager - Edit - /usr/local/lib/node_modules/bower/lib/node_modules/bower-config/node_modules/mout/src/array/sortBy.js
Back
define(['./sort', '../function/makeIterator_'], function (sort, makeIterator) { /* * Sort array by the result of the callback */ function sortBy(arr, callback, context){ callback = makeIterator(callback, context); return sort(arr, function(a, b) { a = callback(a); b = callback(b); return (a < b) ? -1 : ((a > b) ? 1 : 0); }); } return sortBy; });
| ver. 1.4 |
Github
|
.
| PHP 8.2.30 | Generation time: 0 |
proxy
|
phpinfo
|
Settings