Əsas məzmuna keç
0

Bu dərs hələlik ingiliscədir.

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.