---
title: "Discussion on \"Why await Doesn't Make JavaScript Run in Order\" | Hashnode"
description: "Discussion on \"Why await Doesn't Make JavaScript Run in Order\". Learn why await only pauses one async function—not the whole program—with a two-function example, log timeline, and when Promise.all() is better."
url: "https://hashnode.com/posts/why-await-doesn-t-make-javascript-run-in-order/6a8234d2d884bc787c99f736"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Why await Doesn't Make JavaScript Run in Order](https://designly.hashnode.dev/why-await-doesn-t-make-javascript-run-in-order?utm_source=hashnode&utm_medium=feed)

Learn why await only pauses one async function—not the whole program—with a two-function example, log timeline, and when Promise.all() is better.

Aug 16 · 6 min read · designly.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#programming-tips](https://hashnode.com/tag/programming-tips)
-   [#computer-science](https://hashnode.com/tag/computer-science)

## Written by

[Jay Simons](https://hashnode.com/@designly)

@designly · Madison, WI

  
[View profile](https://hashnode.com/@designly)

Full-stack web and mobile developer

Jay is a full-stack developer, electrical engineer, writer and music producer. He currently resides in the Madison, WI area. 🔗 Linked In 🔗 JaySudo.com

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
