跳到主要内容
0

本课内容目前为英文。

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.