Bummer! This is just a preview. You need to be signed in with an account to view the entire instruction.

Instruction

The JavaScript Call Stack

You've learned that JavaScript is single-threaded; it can run only one task to completion at a time before starting a new task. But you've also seen examples of how certain resource-intensive tasks can operate while other tasks run. So now you may be wondering *"how is it that JavaScript can do only one thing at a time when you just showed that it's capable of managing multiple things at once?"...