forked from GitHub/dbot
4 lines
99 B
JavaScript
4 lines
99 B
JavaScript
Array.prototype.random = function() {
|
|
return this[Math.floor((Math.random()*this.length))];
|
|
};
|