build/modelscript.umd.js
function pick() {
                if (this._remainingOptions.length === 0) {
                  this._remainingOptions = clone(this._originalOptions);
                }

                var index = Math.floor(Math.random() * this._remainingOptions.length);
                return this._remainingOptions.splice(index, 1)[0];
              }
function pick() {
                if (this._remainingOptions.length === 0) {
                  this._remainingOptions = clone(this._originalOptions);
                }

                var index = Math.floor(Math.random() * this._remainingOptions.length);
                return this._remainingOptions.splice(index, 1)[0];
              }
function pick ( ) { if ( this . _remainingOptions . length === 0 ) { this . _remainingOptions = clone ( this . _originalOptions ) ; } var index = Math . floor ( Math . random ( ) * this . _remainingOptions . length ) ; return this . _remainingOptions . splice ( index , 1 ) [ 0 ] ; }
Gets a random option until all options have been returns. Then cycles again.
Gets a random option until all options have been returns . Then cycles again .