1.0.1 • Published 6 years ago
pick.randomarray v1.0.1
Main Information
This package is used to pick a random value from an array.
const pick = require('pick.randomarray');
var array = ["one", "two", "three"];
console.log(pick(array));
// Logs any value of the array, like one, two or three.