-2
Run a function called passWhy you print on the console "here I have the value of x" where x will be the value of i in each iteration, for each value from 0 to 3.
Only it gives this error message:
You could check, if the code below is correct:
Passing Function() {
is (var i = 0; i <4; i++){
console.log("aqui eu tenho o valor de ",i);
}
}
passing by();
was also asked here https://answall.com/questions/424900/exerc%C3%adcio-repeti%C3%A7%C3%a3o
– flourigh
here for me this code ran normal, Voce ran in the browser ?
– Andrews Gomes
Yes, in the Chrome browser it works normally. In the site console it works too, only when you test for error.
– Marcos