Skip to content

Latest commit

 

History

13 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

shuffle(array): void

Shuffles order of array.

Example

let arr = [1,2,3,4,5,6,7,8];
shuffle(arr);
console.log(arr);
// [2,8,7,5,6,1,4,3]

Installation

npm i @writetome51/array-shuffle

Loading

import {shuffle} from '@writetome51/array-shuffle';

About

Randomly re-orders items in array.

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages