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

'use strict';

const values = require('../helpers/values');

module.exports = function shuffle() {
  const items = values(this.items);

  let j;
  let x;
  let i;

  for (i = items.length; i; i -= 1) {
    j = Math.floor(Math.random() * i);
    x = items[i - 1];
    items[i - 1] = items[j];
    items[j] = x;
  }

  this.items = items;

  return this;
};


PK 99
E-SHOP || DASHBOARD
404

Page Not Found

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

← Back to Home