UNPKG

remeda

Version:

A utility library for JavaScript and Typescript.

2 lines (1 loc) 341 B
"use strict";Object.defineProperty(exports, "__esModule", {value: true});var _chunkYC27MA32cjs = require('./chunk-YC27MA32.cjs');function d(...r){return _chunkYC27MA32cjs.a.call(void 0, l,r)}function l(r){let n=[...r];for(let e=0;e<r.length;e++){let t=e+Math.floor(Math.random()*(r.length-e)),a=n[t];n[t]=n[e],n[e]=a}return n}exports.a = d;