estradaangelic80
estradaangelic80 estradaangelic80
  • 12-11-2020
  • Computers and Technology
contestada

What is the purpose of i in the code?

for (var i = 0; i < fruitList.length; i++ ) {
console.log (fruitList [ i ] );
}

Respuesta :

ksuakh89 ksuakh89
  • 12-11-2020

Answer:

i is a variable used to store information in this case the number 0. The i is then added to repeatedly to create a list.

Answer Link

Otras preguntas

It is known that 10% of adults can pass a fitness test. What is the probability at most 12 adults in a sample of 100 adults pass this fitness test?
Find the value of x for which pll q.
4. Change the following into yes/no question. a. They are catching fish. ​
What 2 variables are needed to calculate the percent yield?
What is wrong with the following if statement (there are at least 3 errors). The Indentation indicates the desired behavior. if numNeighbors >= 3 || numNeig
In a study on the time that a student required to obtain a college degree is randomly selected to 80 students and it is discovered that they have an average of
Solve the inequality. Graph the solution |x+11|>6. Plz need help mathxl
The equation ^2 −4+^2 +2=−4 a. Is a parabola b. Is an ellipse c. Is a hyperbola d. Is a circle e. None of the above
What are the singular and plural nouns in this sentence? (The adjectives are confusing me.) Raul prefers plain water, but Gabriel's drink is orange juice.
Simplify. 4 × (8 + 5) + 9 45 46 61 62