---
title: "Discussion on \"Single-threaded nature of JavaScript\" | Hashnode"
description: "Discussion on \"Single-threaded nature of JavaScript\". JavaScript is a single-threaded language that executes code line by line, one command at a time.\nTo understand why single-threaded nature we need to know some more things.\n\nCores - A CPU is divided into multiple units, and those units are known as co..."
url: "https://hashnode.com/posts/single-threaded-nature-of-javascript/668b63287d83c4047b86e53b"
---

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

Discussion

# [Single-threaded nature of JavaScript](https://yashpurkar.hashnode.dev/single-threaded-nature-of-javascript?utm_source=hashnode&utm_medium=feed)

JavaScript is a single-threaded language that executes code line by line, one command at a time. To understand why single-threaded nature we need to know some more things. Cores - A CPU is divided into multiple units, and those units are known as co...

Jul 8, 2024 · 2 min read · yashpurkar.hashnode.dev  
Read the article

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

## Written by

[Yash Purkar](https://hashnode.com/@YashPurkar)

@YashPurkar

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

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
