πŸ“Š JavaScript
Q. Consider the following statements
var count = 0;
while (count < 10)
{
console.log(count);
count++;
}
In the above code snippet, what happens?
  • (A) The values of count is logged or stored in a particular location or storage
  • (B) The value of count from 0 to 9 is displayed in the console
  • (C) An error is displayed
  • (D) An exception is thrown
πŸ’¬ Discuss
βœ… Correct Answer: (B) The value of count from 0 to 9 is displayed in the console

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
110
Total Visits
πŸ“½οΈ
2 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
91%
Success Rate