---
title: "Discussion on \"JavaScript Call stack and Event loop\" | Hashnode"
description: "Discussion on \"JavaScript Call stack and Event loop\". In this article, we will try to understand how javascript executes asynchronous code and the different concepts associated with it.\nAsync javascript\nJavascript is a single-threaded language at runtime which means only one thing can happen at a time. ..."
url: "https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9"
---

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

Discussion

# [JavaScript Call stack and Event loop](https://mahimacoding.hashnode.dev/javascript-call-stack-and-event-loop?utm_source=hashnode&utm_medium=feed)

In this article, we will try to understand how javascript executes asynchronous code and the different concepts associated with it. Async javascript Javascript is a single-threaded language at runtime which means only one thing can happen at a time. ...

Mar 17, 2023 · 5 min read · mahimacoding.hashnode.dev  
Read the article

-   [#asynchronous-javascript](https://hashnode.com/tag/asynchronous-javascript)
-   [#event-loop](https://hashnode.com/tag/event-loop)
-   [#callstack](https://hashnode.com/tag/callstack)
-   [#callbackqueue](https://hashnode.com/tag/callbackqueue)

## Written by

[Mahima Gupta](https://hashnode.com/@Mahima2401)

@Mahima2401

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

## Responses 4

Markdown supported · ⌘↵ to post

[Rajashree Parhi](https://hashnode.com/@rajashreeparhi)

[Mar 18, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/6415458d6e30e4c7e5a21864)

well written!

[Mahima Gupta](https://hashnode.com/@Mahima2401)

[Mar 18, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/6415458d6e30e4c7e5a21864#reply-6415f970bc961bc7aa598c9c)

Thank you!

[Akash Kumar Singh](https://hashnode.com/@Darkshadow2074)

[Mar 18, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/64152c454f10afbe5c4c32fd)

It's a great blog for beginners with a clear understanding and well-explained concepts. Kudos to you [Mahima Gupta](https://hashnode.com/@Mahima2401).

[Mahima Gupta](https://hashnode.com/@Mahima2401)

[Mar 18, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/64152c454f10afbe5c4c32fd#reply-6415f986bc961bc7aa598ca7)

Thank you!

[Gautam Balamurali](https://hashnode.com/@ashcod)

[Mar 17, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/6414af7a2c6019bfde89c917)

Good explanation 👏

[Mahima Gupta](https://hashnode.com/@Mahima2401)

[Mar 18, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/6414af7a2c6019bfde89c917#reply-641548ca6e30e4c7e5a21919)

Thank you!

[Nikhil Chhabra](https://hashnode.com/@nikhilchhabra)

[Mar 17, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/64149cea4f10afbe5c4c248f)

concise and precise!

[Mahima Gupta](https://hashnode.com/@Mahima2401)

[Mar 17, 2023](https://hashnode.com/posts/javascript-call-stack-and-event-loop/6414961651536908fe4470e9/comment/64149cea4f10afbe5c4c248f#reply-6414a0c14f10afbe5c4c2548)

Thank you!
