Escadaria
// Staircase detail
// drawing a staircase with the best case
let n = 5; // you can change value of (n)
for (let i = 1; i <= n; i++) {
console.log("#".repeat(i).padStart(n));
}
Abdessmad