Posts by tibasce • 1 point
1 post
-
0
votes5
answers266
viewsA: How to create a function that repeats a certain value
Good afternoon. Following resolution: function repete(valor,qtd){ for(i = 1; i <= qtd; i++) { console.log("" + valor + ""); } }…