---
title: "Discussion on \"Event  loop\" | Hashnode"
description: "Discussion on \"Event  loop\". do you know javascript is a single-threaded language? but using a few smarter data structures, it gives us the illusion of multi-threaded.\nIt means that the main thread where JavaScript code is run, runs in one line at a time manner and there is no p..."
url: "https://hashnode.com/posts/event-loop/641734dea136a96fafa43254"
---

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

Discussion

# [Event loop](https://neetesh.hashnode.dev/event-loop?utm_source=hashnode&utm_medium=feed)

do you know javascript is a single-threaded language? but using a few smarter data structures, it gives us the illusion of multi-threaded. It means that the main thread where JavaScript code is run, runs in one line at a time manner and there is no p...

Mar 19, 2023 · 5 min read · neetesh.hashnode.dev  
Read the article

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

## Written by

[Neetesh Kumar Sharma](https://hashnode.com/@neetesh)

@neetesh · Noida, India

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

A Tech Enthusiastic.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
