---
title: "Discussion on \"How functions are executed in JS\" | Hashnode"
description: "Discussion on \"How functions are executed in JS\". How functions are executed in Java Script.\nLocal Execution Context\nGlobal Execution Context"
url: "https://hashnode.com/posts/how-functions-are-executed-in-js/68664cdff80d11398e231891"
---

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

Discussion

# [How functions are executed in JS](https://shouvikjs.hashnode.dev/how-functions-are-executed-in-js?utm_source=hashnode&utm_medium=feed)

How functions are executed in Java Script. Local Execution Context Global Execution Context

Jul 3, 2025 · 7 min read · shouvikjs.hashnode.dev  
Read the article

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

## Written by

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

@shouvik112

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

Learning and enjoying coding

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
