---
title: "Discussion on \"Execution context in JavaScript\" | Hashnode"
description: "Discussion on \"Execution context in JavaScript\". In JavaScript, the execution context is the environment in which code is executed. Everything in JavaScript happens inside this execution context.\nEvery time a function is executed, a new execution context is created. The execution context consists o..."
url: "https://hashnode.com/posts/execution-context-in-javascript/63f6125b252d804ef08ac191"
---

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

Discussion

# [Execution context in JavaScript](https://mayurlalwani.hashnode.dev/execution-context-in-javascript?utm_source=hashnode&utm_medium=feed)

In JavaScript, the execution context is the environment in which code is executed. Everything in JavaScript happens inside this execution context. Every time a function is executed, a new execution context is created. The execution context consists o...

Feb 22, 2023 · 2 min read · mayurlalwani.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#vanilla-js-1](https://hashnode.com/tag/vanilla-js-1)
-   [#execution-context](https://hashnode.com/tag/execution-context)
-   [#programming-blogs](https://hashnode.com/tag/programming-blogs)

## Written by

[Mayur Lalwani](https://hashnode.com/@mayurlalwani)

@mayurlalwani · Ahmedabad

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

Full Stack Developer

I am a Full Stack Developer from India. My skills include React, JavaScript, Node, Express and MySql.

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
