<!-- mobian-agent-page publisher="dailydev" canonical="https://daily.dev/posts/understanding-async-await-yc3aezp0u" -->

---
title: Understanding Async &amp; Await | daily.dev
description: A Promise is a primitive data type that represents a future value. It&#x27;s a JavaScript object with two pieces of information: the promise state, and a value or...
canonical: https://daily.dev/posts/understanding-async-await-yc3aezp0u
twitter:card: summary_large_image
twitter:site: @dailydotdev
og:type: website
og:site_name: daily.dev
og:title: Understanding Async &amp; Await | daily.dev
og:description: A Promise is a primitive data type that represents a future value. It&#x27;s a JavaScript object with two pieces of information: the promise state, and a value or...
og:url: https://daily.dev/posts/understanding-async-await-yc3aezp0u
og:image: https://api.daily.dev/og/posts/Yc3AeZP0u.png
og:image:alt: Understanding Async &amp; Await
og:image:width: 1200
og:image:height: 630
og:locale: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Understanding Async & Await

**[DEV](https://daily.dev/sources/devto)** · 4 min read · 189 upvotes · 10 comments

## Summary

A Promise is a primitive data type that represents a future value. It's a JavaScript object with two pieces of information: the promise state, and a value or error. A promise is settled when the promise has either fulfilled or rejected. With 30+ real-world exercises you'll transform knowledge into a practical skill that will make you a better developer.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://dev.to/maximization/understanding-async-await-22o6>

## Community discussion

Top comments from developers on daily.dev.

**@aymenmissaoui** · 0 upvotes

> Nice 👍

**@numanhussain** · 0 upvotes

> Thanks

**@aguyfromvietnam** · 0 upvotes

> Thanks. It's great.

**@jtejeda** · 0 upvotes

> One of the most scary thing, when you start programming. Nice article

**@dpkreativ** · 0 upvotes

> Thanks for this article Maxim!

## Similar posts on daily.dev

- [Don’t just attend KubeCon \+ CloudNativeCon, Merge Forward your experience\!](https://daily.dev/posts/don-t-just-attend-kubecon-cloudnativecon-merge-forward-your-experience--l0rpp73x8) · CNCF · 1 upvotes · 0 comments
- [Announcing H2 2026 KCDs](https://daily.dev/posts/announcing-h2-2026-kcds-m96goajm1) · CNCF · 1 upvotes · 0 comments
- [Two months of Open Community Groups](https://daily.dev/posts/two-months-of-open-community-groups-asf52zhbs) · CNCF · 0 upvotes · 0 comments
- [CNCF Unveils Schedule for KubeCon \+ CloudNativeCon Europe 2026](https://daily.dev/posts/cncf-unveils-schedule-for-kubecon-cloudnativecon-europe-2026-ikhcoa5cb) · CNCF · 2 upvotes · 0 comments
- [CNCF Debuts KubeCon \+ CloudNativeCon Japan 2026 Schedule](https://daily.dev/posts/cncf-debuts-kubecon-cloudnativecon-japan-2026-schedule-xp5pyudub) · CNCF · 1 upvotes · 0 comments

---

Tags: [#javascript](https://daily.dev/tags/javascript)

[View this post on daily.dev](https://daily.dev/posts/understanding-async-await-yc3aezp0u)

```json
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://daily.dev/#organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180},"sameAs":["https://twitter.com/dailydotdev","https://github.com/dailydotdev","https://www.linkedin.com/company/daily-dev-ltd"]},{"@type":"WebSite","@id":"https://daily.dev/#website","url":"https://daily.dev","name":"daily.dev","publisher":{"@id":"https://daily.dev/#organization"},"potentialAction":{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https://daily.dev/search?q={search_term_string}"},"query-input":"required name=search_term_string"}}]}
{"@context":"https://schema.org","@type":"TechArticle","headline":"Understanding Async & Await","url":"https://daily.dev/posts/understanding-async-await-yc3aezp0u","mainEntityOfPage":{"@type":"WebPage","@id":"https://daily.dev/posts/understanding-async-await-yc3aezp0u"},"datePublished":"2022-10-10T12:57:22.197Z","dateModified":"2022-10-10T12:57:22.129Z","description":"A Promise is a primitive data type that represents a future value. It's a JavaScript object with two pieces of information: the promise state, and a value or...","image":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8ea4b65ae896ec80ed39324c76caea5f","thumbnailUrl":"https://media.daily.dev/image/upload/f_auto,q_auto/v1/posts/8ea4b65ae896ec80ed39324c76caea5f","isAccessibleForFree":true,"articleSection":"DEV","inLanguage":"en","publisher":{"@type":"Organization","name":"daily.dev","url":"https://daily.dev","logo":{"@type":"ImageObject","url":"https://daily.dev/apple-touch-icon.png","width":180,"height":180}},"author":{"@type":"Organization","name":"DEV","logo":"https://media.daily.dev/image/upload/t_logo,f_auto/v1/logos/devto","url":"https://daily.dev/sources/devto"},"commentCount":10,"discussionUrl":"https://daily.dev/posts/understanding-async-await-yc3aezp0u","interactionStatistic":[{"@type":"InteractionCounter","interactionType":{"@type":"LikeAction"},"userInteractionCount":189},{"@type":"InteractionCounter","interactionType":{"@type":"CommentAction"},"userInteractionCount":10}],"keywords":"javascript","timeRequired":"PT4M"}
{"@context":"https://schema.org","@type":"BreadcrumbList","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://daily.dev"},{"@type":"ListItem","position":2,"name":"DEV","item":"https://daily.dev/sources/devto"},{"@type":"ListItem","position":3,"name":"Understanding Async & Await"}]}
{"@context":"https://schema.org","@type":"WebPage","@id":"https://daily.dev/posts/understanding-async-await-yc3aezp0u","comment":[{"@type":"Comment","text":"Nice 👍","datePublished":"2022-10-16T14:11:33.205Z","url":"https://daily.dev/posts/Yc3AeZP0u#c-0Inycqbw6","author":{"@type":"Person","name":"aymen missaoui","url":"https://daily.dev/aymenmissaoui","image":"https://media.daily.dev/image/upload/v1669454533/avatars/avatar_hhOQkSaP6zhUgiZg62JYh.jpg"}},{"@type":"Comment","text":"Thanks","datePublished":"2022-10-15T00:52:46.698Z","url":"https://daily.dev/posts/Yc3AeZP0u#c-ef_lLkDfZ","author":{"@type":"Person","name":"Numan Hussain","url":"https://daily.dev/numanhussain","image":"https://media.daily.dev/image/upload/s--tfL6rM8V--/f_auto/v1714949319/avatars/avatar_A2U3xApqjhq8rBq9xos0K"}},{"@type":"Comment","text":"Thanks. It’s great.","datePublished":"2022-10-13T02:54:05.696Z","url":"https://daily.dev/posts/Yc3AeZP0u#c-IZeUDBFkg","author":{"@type":"Person","name":"CM","url":"https://daily.dev/aguyfromvietnam","image":"https://avatars.githubusercontent.com/u/86777221?v=4"}},{"@type":"Comment","text":"One of the most scary thing, when you start programming. Nice article","datePublished":"2022-10-11T13:02:46.187Z","url":"https://daily.dev/posts/Yc3AeZP0u#c-31eXh9bYw","author":{"@type":"Person","name":"Jorge Tejeda","url":"https://daily.dev/jtejeda","image":"https://avatars.githubusercontent.com/u/31803682?v=4"}},{"@type":"Comment","text":"Thanks for this article Maxim!","datePublished":"2022-10-11T06:05:11.328Z","url":"https://daily.dev/posts/Yc3AeZP0u#c-Zd2-HC4O9","author":{"@type":"Person","name":"Divine Orji","url":"https://daily.dev/dpkreativ","image":"https://media.daily.dev/image/upload/s--k9jTrgot--/f_auto/v1732538296/avatars/avatar_N0PEm0Bn_d"}}]}
```

