PK

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

'use strict';

/**
 * Clone helper
 *
 * Clone an array or object
 *
 * @param items
 * @returns {*}
 */
module.exports = function clone(items) {
  let cloned;

  if (Array.isArray(items)) {
    cloned = [];

    cloned.push(...items);
  } else {
    cloned = {};

    Object.keys(items).forEach((prop) => {
      cloned[prop] = items[prop];
    });
  }

  return cloned;
};


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

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

← Back to Home