{"size": 181, "ext": "js", "max_stars_repo_path": "javascript/practice/practice-in-class/function.js", "max_stars_repo_name": "hanana1253/TIL", "max_stars_repo_stars_event_min_datetime": "2021-06-01T08:31:54.000Z", "max_stars_repo_stars_event_max_datetime": "2022-02-02T06:03:18.000Z", "max_issues_repo_path": "javascript/practice/practice-in-class/function.js", "max_issues_repo_name": "hanana1253/TIL", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "javascript/practice/practice-in-class/function.js", "max_forks_repo_name": "hanana1253/TIL", "max_forks_repo_forks_event_min_datetime": "2021-03-27T06:45:12.000Z", "max_forks_repo_forks_event_max_datetime": "2022-01-07T09:34:32.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 2, "avg_line_length": 20.1111111111, "max_line_length": 42, "alphanum_fraction": 0.5027624309}
function sum(...args){
    var result = 0;
    for (var i = 0; i < args.length; i++){
        result = result + args[i];
    }   
    return result;
}

console.log(sum(1, 2, 3, 4));