---
title: "Discussion on \"How JS actually works (Part-1)\" | Hashnode"
description: "Discussion on \"How JS actually works (Part-1)\". How JavaScript works behind the scene. How JavaScript handles code. Covered Global Execution Context. Memory creation Phase, Execution Phase, Hoisting."
url: "https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe"
---

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

Discussion

# [How JS actually works (Part-1)](https://shouvikjs.hashnode.dev/how-js-actually-works-part-1?utm_source=hashnode&utm_medium=feed)

How JavaScript works behind the scene. How JavaScript handles code. Covered Global Execution Context. Memory creation Phase, Execution Phase, Hoisting.

Jun 30, 2025 · 11 min read · shouvikjs.hashnode.dev  
Read the article

-   [#chaicode](https://hashnode.com/tag/chaicode)
-   [#javascript](https://hashnode.com/tag/javascript)
-   [#freecodecamp](https://hashnode.com/tag/freecodecamp)
-   [#global-execution-context](https://hashnode.com/tag/global-execution-context)
-   [#execution-context](https://hashnode.com/tag/execution-context)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#reactjs](https://hashnode.com/tag/reactjs)
-   [#piyushgarag](https://hashnode.com/tag/piyushgarag)
-   [#hiteshchaudhary](https://hashnode.com/tag/hiteshchaudhary)
-   [#hoisting](https://hashnode.com/tag/hoisting)

## Written by

[shouvik sarkar](https://hashnode.com/@shouvik112)

@shouvik112

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

Learning and enjoying coding

## Responses 9

Markdown supported · ⌘↵ to post

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jul 1, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/6863932ee50e64c28fdb080f)

Your impact resonates far and wide.

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jul 1, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/68639309e50e64c28fdb080e)

You’re a beacon of light.

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jul 1, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/686392eeed26fef24db4e12c)

Inspirational & Insightful

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jul 1, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/686392b2389b4da8851fb6ba)

Exemplary

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jul 1, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/68639285c9ade2a63c00600c)

Impeccable

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jul 1, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/686392537c0c10f1a8513c34)

Stellar performance 💖

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jun 30, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/68630b225b96d49f7c5743b7)

Supercalifragilisticexpialidocious

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jun 30, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/68630acc789673c6d83d96c9)

Wow

[Sajid Ahmed](https://hashnode.com/@SajidAhmed)

[Jun 30, 2025](https://hashnode.com/posts/how-js-actually-works-part-1/686255284deca938a2b0b6fe/comment/68630abb725d965d77207668)

Nice
