-2
People, can you help me ? I am trying to get a function to be executed and to return the word "Blue" 4 times, through a Cycle. I tried to write this here, but it gave the following error
Referenceerror: imprimirAzul4 is not defined.
That’s the code I wrote:
for (var i = 0; i < 5; i++) {
function imprimirAzul4 () {
return "Azul";
}
}
Can anyone tell me where it’s wrong?
Your code and your error have nothing to do with each other... which is to say I believe that this error comes from another version of code and not the one in question... you can put the complete code that gave that error?
– Sergio
Strange, that’s the code. follow: for (var i = 0; i < 5; i++) { Function imprimirAzul4() { Return "Blue"; } } Error: Solution.js:29 var muki_query_result = printAzul4(); Referenceerror: printAzul4 is not defined
– Algus
this error is from mumuki island, it has a lot of equal questions of this mumuki in a short period of time and of this function including
– flourigh
Are you sure about this? Because if it is, it’s very serious. This platform has a partnership with a Programming school, and we are doing online exercises that count points, in a kind of vestibular. Who has the best placements is awarded a full course of programming. If the plafatorma is in trouble, may require recount....
– Algus