GLOSSARY · A WORD, UNPACKED
thread
one sequence of instructions that can execute work.
A little more detail
A browser’s main JavaScript thread executes one piece of JavaScript at a time while also coordinating work needed by the page. Browser facilities can manage waiting elsewhere, then queue callbacks. Moving CPU-heavy work to a worker uses a separate thread and requires explicit communication.
See it in practice
These lessons pair the idea with examples you can change and run.