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

What is a push factor that might cause immigration
If u need to give a customer 7.94 in change how many dimes should u give as part of the change
what is the tang materia medica?
Which movement inspired the French Revolution? A) The Renaissance B) The Enlightenment C) Napoleonic Conquests D) The Russian Revolution
in what way has putin's russia strayed back toward soviet methods? job loss censorship wealth freedom of the press
Adam is warming up before baseball practice. Which of these activities would provide the best dynamic stretch to prepare him for pitching? Leg kicks Neck exte
Daisy and Sam scored baskets at the basketball game in the ratio of 3:2. Daisy scored 6 more baskets than Sam. How many baskets did Daisy score?
A rectangular prism pool has dimensions of 25 feet by 15 feet and is 4 feet deep. If water costs $0.03 per cubic feet, how much will it cost to fill the pool?
A can of lemonade concentrate has a diameter of 3 inches and a height of 4.5 inches. If the concentrate dissolves in 3.5 cans of water, how much water must be a
why is each mineral have its own property different from every other mineral