Skip to content

Glossary: JavaScript Beyond the Basics

Asynchronous / synchronous

Also written: asynchronous, synchronous, sync

Synchronous code runs line by line, each line finishing before the next starts. Asynchronous code, such as waiting for a database or a file, is started and the program carries on, handling the result when it arrives.

Where the book teaches it

Related terms

Event loopPromise