JavaScript quiz · 53 questions

Var loop scope

Read the code

What is logged to the console?


for (var i = 0; i < 10; i++) {}

console.log(i);
  • 1–4 answer
  • ← previous
Question 52 of 5396%