---
title: "Discussion on \"The Event Loop: Why Your Node.js Code Doesn't Just Run Top to Bottom\" | Hashnode"
description: "Discussion on \"The Event Loop: Why Your Node.js Code Doesn't Just Run Top to Bottom\". Why Your Node.js Code Doesn't Just Run Top to Bottom"
url: "https://hashnode.com/posts/the-event-loop-why-your-node-js-code-doesn-t-just-run-top-to-bottom/69f92a1346610fd6063d9f31"
---

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

Discussion

# [The Event Loop: Why Your Node.js Code Doesn't Just Run Top to Bottom](https://blog.saumyagrawal.in/the-event-loop-why-your-node-js-code-doesn-t-just-run-top-to-bottom?utm_source=hashnode&utm_medium=feed)

Why Your Node.js Code Doesn't Just Run Top to Bottom

May 4 · 11 min read · blog.saumyagrawal.in  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#nodejs](https://hashnode.com/tag/nodejs)
-   [#event-loop](https://hashnode.com/tag/event-loop)

## Written by

[Saumya](https://hashnode.com/@saumyaetc)

@saumyaetc · Lucknow

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

Refactoring to Software Development

Trying to transition my career to explore new things, new tech

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
