remeda
Version:
A utility library for JavaScript and Typescript.
1 lines • 294 B
JavaScript
const e=require(`./purry-CxXxOfsx.cjs`);function t(...t){return e.purry(n,t)}function n(e){let t=[...e];for(let n=0;n<e.length;n++){let r=n+Math.floor(Math.random()*(e.length-n)),i=t[r];t[r]=t[n],t[n]=i}return t}Object.defineProperty(exports,`shuffle`,{enumerable:!0,get:function(){return t}});