function removeOptions(select) {
  let i;
  for (i = select.options.length - 1; i > 0; i--) {
    select.remove(i);
  }
}
/**
 * Removes all options from a select
 * @param  {Object} select Select element to clear
 */
Removes all options from a select
@param  {Object} select Select element to clear
Removes all options from a select @param { Object } select Select element to clear
function removeOptions(select) {
  let i;
  for (i = select.options.length - 1; i > 0; i--) {
    select.remove(i);
  }
}
function removeOptions ( select ) { let i ; for ( i = select . options . length - 1 ; i > 0 ; i -- ) { select . remove ( i ) ; } }
Removes all options from a select
 @param  {Object} select Select element to clear
Removes all options from a select @param { Object } select Select element to clear