single-threaded

Able to run only one piece of code at a time, as JavaScript on the main thread is.

In more detail

Concurrency in the browser comes from the event loop interleaving tasks, not from running them in parallel. True parallel JavaScript needs Web Workers.

Related terms

Taught in

References