Posts by Godinera • 61 points
1 post
-
6
votes1
answer700
viewsA: exercise: repetition
You just need to put your code on função as below: function imprimirAzul4(){ for(var i = 0; i < 4; i++) { console.log("Azul") } } Then just run the function with a button or something.…
javascriptanswered Godinera 61