How many times will the following loop print the word loop to the screen?

Q

How many times will the following loop print the word loop to the screen? var index = 0; while (index < 3) { window.document.writeln("loop"); index++; } A) 1 B) 2 C) 3 D) 4

✍: Guest

A
(This question has not been answered yet. If you know the answer, please share it in a comment below.)

2010-08-28, 3717👍, 0💬