mirror of
https://github.com/reality/dbot.git
synced 2024-11-27 14:29:29 +01:00
4 lines
99 B
JavaScript
4 lines
99 B
JavaScript
Array.prototype.random = function() {
|
|
return this[Math.floor((Math.random()*this.length))];
|
|
};
|