{"size": 189, "ext": "js", "max_stars_repo_path": "Software-Technologies/JavaScript Syntax and Basic Web - Exercises/3. Multiply, Divide a Number by a Given Second Number.js", "max_stars_repo_name": "MarinesBG/Programming-Fundamentals", "max_stars_repo_stars_event_min_datetime": null, "max_stars_repo_stars_event_max_datetime": null, "max_issues_repo_path": "Software-Technologies/JavaScript Syntax and Basic Web - Exercises/3. Multiply, Divide a Number by a Given Second Number.js", "max_issues_repo_name": "MarinesBG/Programming-Fundamentals", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "Software-Technologies/JavaScript Syntax and Basic Web - Exercises/3. Multiply, Divide a Number by a Given Second Number.js", "max_forks_repo_name": "MarinesBG/Programming-Fundamentals", "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": 14.5384615385, "max_line_length": 37, "alphanum_fraction": 0.455026455}
function multiplyDivideNumber(nums) {
    let x = Number(nums[0]);
    let y = Number(nums[1]);

    if(x <= y)
    {
       return x * y;
    }
    else
    {
        return x / y;
    }
}