js/main.js
// clear Values and new options based on current Culture
clear Values and new options based on current Culture
clear Values and new options based on current Culture
function populateOptions() {
  select_first_value.innerHTML = select_second_value.innerHTML = '';
  let state = store.getState();
  let curr_culture_keys = Object.keys(cultures[state.culture]);
  curr_culture_keys.forEach(add_option_value_to_select)
}
function populateOptions ( ) { select_first_value . innerHTML = select_second_value . innerHTML = '' ; let state = store . getState ( ) ; let curr_culture_keys = Object . keys ( cultures [ state . culture ] ) ; curr_culture_keys . forEach ( add_option_value_to_select ) }
clear Values and new options based on current Culture
clear Values and new options based on current Culture