code: function Prompt() {
    Base.apply(this, arguments);
  
    if (!this.opt.choices) {
      this.throwParamError('choices');
    }
  
    this.firstRender = true;
    this.selected = 0;
  
    var def = this.opt.default;
  
    // Default being a Number
    if (utils.isNumber(def) && def >= 0 && def < this.opt.choices.realLength) {
      this.selected = def;
    }
  
    // Default being a String
    if (typeof def === 'string') {
      this.selected = this.opt.choices.pluck('value').indexOf(def);
    }
  
    // Make sure no default is set (so it won't be printed)
    this.opt.default = null;
    this.paginator = new Paginator();
  }
docs: Constructor