Skip to content

brent258/bmjs-shuffle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bmjs-shuffle

A simple function for shuffling an array.

Example usage:

const shuffle = require('bmjs-shuffle');

let arr = ['cheese','donuts','ham','bacon'];
let shuffled = shuffle(arr);
console.log(shuffled); // ['ham','donuts','cheese','bacon']

About

A simple utility for shuffling an array.

Resources

License

Stars

Watchers

Forks

Packages

No packages published