Skip to content

Glossary: JavaScript Basics

Promise

Also written: promises

A JavaScript object that stands for the eventual result of work that takes time, such as downloading data. It lets code say what to do once the work succeeds or fails.

Where the book teaches it

Related terms

async/awaitCallback