Q. What is the main thread in JavaScript?
β
Correct Answer: (A)
The single thread where JavaScript code executes
Explanation: JavaScript is single-threaded; the main thread runs all JS code.