Javascript Array popRandomElement()
popRandomElement()
Array.prototype.popRandomElement = function(){ return this.splice(this.randomIndex(), 1)[0] }