Rand Paul
Get a random value from an array.
Usage
npm install rand-paul --save
var rand = ; var candidates = 'Ted Cruz' 'Ben Carson' 'Jeb Bush' 'Mike Huckabee' 'Rand Paul' 'Donald Trump' var president = rand;console // => 'Rand Paul'
You can grab the index of the item by specifying it in the options object.
var president = rand; console // => { item: 'Rand Paul', includeIndex: 4 }
Contribution
Fork and do your thing. If your code is as messy and/or unkempt as Rand's hair I will not accept.
LICENSE
WTFPL (...)