Which of the following is one of the fundamental features of JavaScript?
A
Single-threaded
B
Multi-threaded
C
Both Single-threaded and Multi-threaded
D
Simple-threaded
Correct Answer: Single-threaded
In computer programming, single-threading is the processing of one command at a time. 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.