# await

An operator that pauses an async function until a value or Promise settles.

## What does **await** do in JavaScript?

**await** — An operator that pauses an async function until a value or Promise settles.

```javascript
async function loadOrder() {
    const response = await fetch("/api/order");
    return response.json();
}
```

Level: Journeyman · [More JavaScript terms at this level](https://www.ask-codey.com/glossary/subjects/javascript/journeyman)

Updated: September 27, 2026

Source: https://www.ask-codey.com/glossary/await
