---
title: "Discussion on \"Understanding the Execution Context and Thread of Execution in JavaScript\" | Hashnode"
description: "Discussion on \"Understanding the Execution Context and Thread of Execution in JavaScript\". Before we begin to understand what an execution context is, let's think of it as an environment/ scope where the code is evaluated in.\nDeep Dive\nWhen we start the JavaScript program, we start in the global execution context. Some variables are declar..."
url: "https://hashnode.com/posts/understanding-the-execution-context-and-thread-of-execution-in-javascript/61f7f96100273a7c1776de4d"
---

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

Discussion

# [Understanding the Execution Context and Thread of Execution in JavaScript](https://sanskargoyal.hashnode.dev/understanding-the-execution-context-and-thread-of-execution-in-javascript?utm_source=hashnode&utm_medium=feed)

Before we begin to understand what an execution context is, let's think of it as an environment/ scope where the code is evaluated in. Deep Dive When we start the JavaScript program, we start in the global execution context. Some variables are declar...

Jan 31, 2022 · 3 min read · sanskargoyal.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)

## Written by

[Sanskar Goyal](https://hashnode.com/@sanskar-goyal)

@sanskar-goyal · New Delhi, India

  
[View profile](https://hashnode.com/@sanskar-goyal)

Web Developer who loves podcasting

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
