Como imprimir 1 a N números sem usar o 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