Aller au contenu principal
0

Cette leçon est en anglais pour le moment.

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.