B2G/gecko/browser/devtools/webconsole/AutocompletePopup.jsm
/**
   * Select the next item in the list.
   *
   * @return object
   *         The newly selected item object.
   */
Select the next item in the list.
@return object
The newly selected item object.
Select the next item in the list . @return object The newly selected item object .
function AP_selectNextItem()
  {
    if (this.selectedIndex < (this.itemCount - 1)) {
      this.selectedIndex++;
    }
    else {
      this.selectedIndex = -1;
    }
    return this.selectedItem;
  }
function AP_selectNextItem ( ) { if ( this . selectedIndex < ( this . itemCount - 1 ) ) { this . selectedIndex ++ ; } else { this . selectedIndex = - 1 ; } return this . selectedItem ; }
Select the next item in the list.
Select the next item in the list .