A

Admin • 828.03K Points
Coach

Q. What is the main thread in JavaScript?

  • (A) The single thread where JavaScript code executes
  • (B) A thread that handles HTTP requests
  • (C) A parallel execution thread
  • (D) The UI thread
  • Correct Answer - Option(A)
  • Views: 11
  • Filed under category JavaScript
  • Hashtags:

Explanation by: Admin
JavaScript is single-threaded; the main thread runs all JS code.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.