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/forPage.js

'use strict';

module.exports = function forPage(page, chunk) {
  let collection = {};

  if (Array.isArray(this.items)) {
    collection = this.items.slice((page * chunk) - chunk, page * chunk);
  } else {
    Object
      .keys(this.items)
      .slice((page * chunk) - chunk, page * chunk)
      .forEach((key) => {
        collection[key] = this.items[key];
      });
  }

  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