cara mencetak 1 hingga n nomor tanpa menggunakan loop javascript

const PrintNumbers= (start, end)=> {
    console.log(start);
    if (start < end) {
        PrintNumbers((start + 1), end);
    }
}
// Print numbers from 1 to 100 in the console
PrintNumbers(1, 100);
Abhishek