{"size": 500, "ext": "js", "max_stars_repo_path": "test_apps/uitest/js/select.js", "max_stars_repo_name": "BReduardokramer/gaia", "max_stars_repo_stars_event_min_datetime": "2015-02-13T21:32:03.000Z", "max_stars_repo_stars_event_max_datetime": "2015-02-14T06:02:14.000Z", "max_issues_repo_path": "test_apps/uitest/js/select.js", "max_issues_repo_name": "ganesh7/gaia", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "test_apps/uitest/js/select.js", "max_forks_repo_name": "ganesh7/gaia", "max_forks_repo_forks_event_min_datetime": "2021-04-04T13:21:37.000Z", "max_forks_repo_forks_event_max_datetime": "2021-04-04T13:21:37.000Z"}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 29.4117647059, "max_line_length": 76, "alphanum_fraction": 0.688}
function changeTest(evt) {
  console.log('++select++ onchange: ' + this.selectedIndex);
}

function blurTest(evt) {
  console.log('++select++ onblur: ' + this.id);
}

window.onload = function onload() {
  var elementList = ['singleSel', 'multiSel', 'sizeSel'];
  elementList.forEach(function(elementId) {
      console.log('elementId: ' + elementId);
      document.getElementById(elementId).onchange = changeTest;
      document.getElementById(elementId).addEventListener('blur', blurTest);
  });
}
