---
title: "Discussion on \"Javascript - Execution Context\" | Hashnode"
description: "Discussion on \"Javascript - Execution Context\". Execution context is the main and basic concept of javascript code execution. In this post, I will give you a brief explanation of the execution context and how it works.\nLet's get a simple code part to explain this.\nvar a = 10;\nfunction square(num) ..."
url: "https://hashnode.com/posts/javascript-execution-context/64edd59e7035786190cd8855"
---

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

Discussion

# [Javascript - Execution Context](https://janithrenuka.hashnode.dev/javascript-execution-context?utm_source=hashnode&utm_medium=feed)

Execution context is the main and basic concept of javascript code execution. In this post, I will give you a brief explanation of the execution context and how it works. Let's get a simple code part to explain this. var a = 10; function square(num) ...

Aug 29, 2023 · 3 min read · janithrenuka.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#basics-of-javascript](https://hashnode.com/tag/basics-of-javascript)
-   [#execution-context](https://hashnode.com/tag/execution-context)

## Written by

[Janith Renuka](https://hashnode.com/@janithrenuka)

@janithrenuka · Colombo, Sri Lanka

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

Software Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
