Q. What is the event loop in JavaScript?

  • (A) A mechanism that handles asynchronous callbacks
  • (B) A loop used to iterate over DOM elements
  • (C) A function that repeats code
  • (D) A type of loop like for or while
πŸ’¬ Discuss
βœ… Correct Answer: (A) A mechanism that handles asynchronous callbacks
Explanation: The event loop is responsible for executing asynchronous code in JavaScript.
Explanation by: Mr. Dubey
The event loop is responsible for executing asynchronous code in JavaScript.

πŸ’¬ Discussion


πŸ“Š Question Analytics

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