---
title: "Discussion on \"10. Call Stack , Lexical scoping, Closures in javascript\" | Hashnode"
description: "Discussion on \"10. Call Stack , Lexical scoping, Closures in javascript\". Call Stack\n The call stack is a data structure that keeps track of function calls in LIFO (Last In, First Out) order.\nHow It Works?\n\nWhen a function is called, it's pushed onto the stack.\n\nWhen the function finishes execution, it's popped off the sta..."
url: "https://hashnode.com/posts/10-call-stack-lexical-scoping-closures-in-javascript/67a7044522c6178b2bc7b03b"
---

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

Discussion

# [10\. Call Stack , Lexical scoping, Closures in javascript](https://rajputayush.hashnode.dev/10-call-stack-lexical-scoping-closures-in-javascript?utm_source=hashnode&utm_medium=feed)

Call Stack The call stack is a data structure that keeps track of function calls in LIFO (Last In, First Out) order. How It Works? When a function is called, it's pushed onto the stack. When the function finishes execution, it's popped off the sta...

Feb 8, 2025 · 3 min read · rajputayush.hashnode.dev  
Read the article

-   [#javascript](https://hashnode.com/tag/javascript)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#closure](https://hashnode.com/tag/closure)
-   [#lexical-scope](https://hashnode.com/tag/lexical-scope)
-   [#callstack](https://hashnode.com/tag/callstack)
-   [#callback](https://hashnode.com/tag/callback)
-   [#reactjs](https://hashnode.com/tag/reactjs)

## Written by

[Ayush Rajput](https://hashnode.com/@ayuxsh)

@ayuxsh

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

</ hello world >

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
