Cómo imprimir 1 a n números sin usar bucle 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