JavaScriptJavaScript · Lesson 13

Async JavaScript

Callbacks, promises, async/await and error handling.

Video tutorialTrack course · freeCodeCamp
Speed
Next lesson
Watch 00:00 · 1 checkpoints Watch on YouTube More on this topic
Transcript & captions
4/4

JavaScript is single threaded. Long tasks are handled asynchronously: a promise represents a value that will exist later. async/await is syntax sugar over promises.

Try it yourself

Knowledge check

0/1 answered

await can only be used…