PK

ADDRLIN : /home/questend/public_html/domains/flaxzy.com/node_modules/collect.js/src/methods/
FLL :
Current File : /home/questend/public_html/domains/flaxzy.com/node_modules/collect.js/src/methods/sort.js

'use strict';

module.exports = function sort(fn) {
  const collection = [].concat(this.items);

  if (fn === undefined) {
    if (this.every(item => typeof item === 'number')) {
      collection.sort((a, b) => a - b);
    } else {
      collection.sort();
    }
  } else {
    collection.sort(fn);
  }

  return new this.constructor(collection);
};


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

It looks like you found a glitch in the matrix...

← Back to Home