{"size": 337, "ext": "js", "max_stars_repo_path": "8kyu/Calculaet BMI.js", "max_stars_repo_name": "boahs/CodeWarSolutions", "max_stars_repo_stars_event_min_datetime": "2020-06-14T17:47:35.000Z", "max_stars_repo_stars_event_max_datetime": "2020-06-14T17:47:35.000Z", "max_issues_repo_path": "8kyu/function bmi(weight, height).js", "max_issues_repo_name": "boahs/CodeWarSolutions", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "8kyu/function bmi(weight, height).js", "max_forks_repo_name": "boahs/CodeWarSolutions", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 1, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 19.8235294118, "max_line_length": 47, "alphanum_fraction": 0.4807121662}
function bmi(weight, height) {
  
    var bmi     = weight / Math.pow(height, 2),
        message = 'Obese';
    
    if (bmi <= 18.5) {
      message = 'Underweight';
    } else if (bmi <= 25.0) {
      message = 'Normal';
    } else if (bmi <= 30.0) {
      message = 'Overweight';
    }
    
    return message;
  }
  
  bmi(80, 1.80)