random-array-sample
v1.0.0
Published
Randomly returns a sample of an array
Downloads
0
Readme
Installation
$ npm install random-array-sample
Usage
var sample = require('random-array-sample');
var set = [1,2,3,4,5];
var sampleArray = sample(set);
console.log(sampleArray);