{"size": 311, "ext": "js", "max_stars_repo_path": "JavaScript/M01_JavaScriptProgrammingBasics/L04_ForLoop/Lab/P08_NumsDivisibleBy9.js", "max_stars_repo_name": "todorkrastev/softuni-software-engineering", "max_stars_repo_stars_event_min_datetime": "2021-04-06T21:35:50.000Z", "max_stars_repo_stars_event_max_datetime": "2021-08-07T09:51:58.000Z", "max_issues_repo_path": "JavaScript/M01_JavaScriptProgrammingBasics/L04_ForLoop/Lab/P08_NumsDivisibleBy9.js", "max_issues_repo_name": "todorkrastev/softuni-software-engineering", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "JavaScript/M01_JavaScriptProgrammingBasics/L04_ForLoop/Lab/P08_NumsDivisibleBy9.js", "max_forks_repo_name": "todorkrastev/softuni-software-engineering", "max_forks_repo_forks_event_min_datetime": "2022-02-23T13:03:14.000Z", "max_forks_repo_forks_event_max_datetime": "2022-02-23T13:03:14.000Z"}
{"max_stars_count": 3, "max_issues_count": null, "max_forks_count": 1, "avg_line_length": 22.2142857143, "max_line_length": 53, "alphanum_fraction": 0.459807074}
function sumOfNums(input) {
    let n1 = parseInt(input[0]);
    let n2 = parseInt(input[1]);
    let numsArr = [];

    let sum = 0;
    for (let i = n1; i <= n2; i++) {
        if (i % 9 == 0) { sum += i; numsArr.push(i) }
    }

    console.log(`The sum: ${sum}` + '\n'
        + `${numsArr.join('\n')}`);
}
