# Async and Await

JavaScript has async and await too, working just like C#'s. An async function can await a promise, such as fetch's, and read like ordinary code, with try and catch for errors. Use it to load data into the page and send a form to an API.

![Cheat sheet: Async and Await](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/11/ae4802a18bc04a369e5800cb968089dc.webp)

- Category: JavaScript
- Level: Journeyman
- Tags: async Function, await, JavaScript, rest-api
- Updated: November 3, 2026

Source: https://www.ask-codey.com/cheat-sheets/calling-apis-from-javascript-async-and-await-cheat-sheet
