{"size": 478, "ext": "js", "max_stars_repo_path": "src/what-season.js", "max_stars_repo_name": "ergl1s/basic-js", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "src/what-season.js", "max_issues_repo_name": "ergl1s/basic-js", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "src/what-season.js", "max_forks_repo_name": "ergl1s/basic-js", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": null, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 47.8, "max_line_length": 93, "alphanum_fraction": 0.5690376569}
module.exports = function getSeason(date) {
  if (!date instanceof Date) throw Error; 
  let date2 = new Date(); 
  if (date - date2 == 0 || date == undefined) return 'Unable to determine the time of year!';
  temp = date.getMonth(); 
  if (temp == 11 || temp == 0 || temp == 1) return "winter";
  if (temp == 2 || temp == 3 || temp == 4) return "spring";
  if (temp == 5 || temp == 6 || temp == 7) return "summer"; 
  if (temp == 8 || temp == 9 || temp == 10) return "fall";
};