Saltar al contenido principal
0

Por ahora, esta lección está en inglés.

One thread, many tasks

JavaScript runs on a single thread: one piece of code at a time. Yet pages load data, play animations and react to taps together. The secret is the event loop.