Q21
Which of the following is one of the fundamental features of JavaScript?
A.
Single-threaded
AnswerB.
Multi-threaded
C.
Both Single-threaded and
D.
None of the mentioned
Answer: Option A
Solution
Answer: Option A
Solution:
One of the fundamental features of client-side JavaScript is that it is single-threaded: a browser will never run two event handlers at the same time, and it will never trigger a timer while an event handler is running, for example.