---
title: "Discussion on \"Async/Await in JavaScript with Easiest Explanation!\" | Hashnode"
description: "Discussion on \"Async/Await in JavaScript with Easiest Explanation!\". Intro\nBefore learning about async/await you should know what and how promises work in JavaScript. You can read about promises here.\nWhat is async keyword?\nasync/await were introduced in 2017, Before that time managing asynchronous operations in javaS..."
url: "https://hashnode.com/posts/async-await-explained/65b0c210d46155519a17bb76"
---

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

Discussion

# [Async/Await in JavaScript with Easiest Explanation!](https://shubhsharma19.hashnode.dev/async-await-explained?utm_source=hashnode&utm_medium=feed)

Intro Before learning about async/await you should know what and how promises work in JavaScript. You can read about promises here. What is async keyword? async/await were introduced in 2017, Before that time managing asynchronous operations in javaS...

Jan 24, 2024 · 4 min read · shubhsharma19.hashnode.dev  
Updated Apr 28, 2024  
Read the article

-   [#wemakedevs](https://hashnode.com/tag/wemakedevs)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#asynchronous-javascript](https://hashnode.com/tag/asynchronous-javascript)
-   [#tutorial](https://hashnode.com/tag/tutorial)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Shubh Sharma](https://hashnode.com/@shubhsharma)

@shubhsharma · India

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

Self-taught Dev | Full-stack JavaScript Developer

Self taught product designer and developer.

## Responses 2

Markdown supported · ⌘↵ to post

[Sundar Gupta](https://hashnode.com/@sundargpt)

[Apr 7, 2024](https://hashnode.com/posts/async-await-explained/65b0c210d46155519a17bb76/comment/661301fc59c6555c4ee255b2)

Such a good one!

[Tebogo Selahle](https://hashnode.com/@tebogoselahle)

[Feb 3, 2024](https://hashnode.com/posts/async-await-explained/65b0c210d46155519a17bb76/comment/65be716d37e40bfaf689637a)

Great article! Another great use of async/await is when your code needs to do 2 async operations that are not dependent on each other.

For example, if your method needs to retrieve users and companies, you can call the async getUsers method and store the resulting Promise in a variable. You do the same for the getCompanies method. Now you have 2 promises that are executing in parallel and you can the await them afterwards.

This gives the benefit of not having to run the two independent calls synchronously and cuts the method time by half (assuming both calls take the same time)

[Shubh Sharma](https://hashnode.com/@shubhsharma)

[Feb 6, 2024](https://hashnode.com/posts/async-await-explained/65b0c210d46155519a17bb76/comment/65be716d37e40bfaf689637a#reply-65c2201b8e304beba8b5c77f)

Thanks for adding up Tebogo! 😁
