Skip to content

Commit 7165d11

Browse files
committed
Code Execution in JS
1 parent e920eca commit 7165d11

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

Notes/JSCodeExecution.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
1-
# How does JavaScript Executes Code?
1+
# How does JavaScript Execute Code?
2+
3+
JavaScript executes code in a structured way using the Global Execution Context and the Call Stack.
24

35
![GEC in JS](Notes/images/JSCodeExecution.png)
46
![Working in JS](Notes/images/Process.png)
57

68
# Call Stack in JS
79

10+
The call stack keeps track of function calls in JavaScript. It's a stack data structure that operates in a LIFO (Last In, First Out) manner.
11+
812
![Call Stack in JS](Notes/images/callStack.png)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy