Posts by DenilsonAlves • 1 point
1 post
-
0
votes3
answers534
viewsA: Escada Javascript
A solution: function escada (n){ var array = []; var cont = 1; for (i=0; i<n; i++){ array[i] = '#'.repeat(cont).padStart(n); cont++; } return array; }…
javascriptanswered DenilsonAlves 1