Question: 6. What will be displayed in the console when the following program runs? var count = 0 while (count != 5){ console.log(count); count = count

6. What will be displayed in the console when the following program runs? var count = 0 while (count != 5){ console.log(count); count = count + 2; } O O A. O 2 4 6 O B. o 2 4 O C. 2 4 6 O D. The program will result in an infinite loop
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
