This commit is contained in:
6
node_modules/licia/randomItem.js
generated
vendored
Normal file
6
node_modules/licia/randomItem.js
generated
vendored
Normal file
@@ -0,0 +1,6 @@
|
||||
var random = require('./random');
|
||||
exports = function(arr) {
|
||||
return arr[random(0, arr.length - 1)];
|
||||
};
|
||||
|
||||
module.exports = exports;
|
||||
Reference in New Issue
Block a user