Register - Login - Forgotten Password

Lesson 12: Asynchronous JavaScript and Building a Complete Program

Why can a webpage begin a network request yet still respond to another click before the requested data arrives? The answer lies in the difference between synchronous execution, where statements proceed in an available order, and asynchronous execution, where delayed work can finish later. The central idea is not that JavaScript performs every task at once, but that it avoids making unrelated parts of the application wait unnecessarily.

Lesson 12: Asynchronous JavaScript and Building a Complete Program

This lesson just one in the category Introduction to JavaScript. To access this lesson you need to have a valid learner account, ask your parent to register you now.