var logNums = function (num) {};

var logNums = function(num) {
    for (let i = 1; i <= num; i++) {
        console.log(i);
    }
};
Brithnie Estime