Call Stack in JavaScript | The Complete JavaScript Course | Ep.31

preview_player
Показать описание


📖 Chapters
00:00 Understanding execution context and function calls in JavaScript
01:30 Understanding the call stack mechanism in JavaScript
04:32 Understanding Call Stack in JavaScript
05:58 Call stack management in JavaScript
08:27 Understanding call stack and execution context in JavaScript.
11:36 Execution context is created for each function call in the call stack.
15:08 Understanding call stack overflow in JavaScript
16:48 Understanding the call stack in JavaScript is crucial for debugging and optimizing code.

Have any doubts? Join this Telegram group and ask your question. You can also share the projects that you make in this group.

Call Stack is one of the most important concepts in order to understand how JavaScript works.

Social Media

Music by geoffharvey from Pixabay
Рекомендации по теме
Комментарии
Автор

I started this playlist This is day 3 I know basics of javascript so I will binge watch basic part and if I found any topic which I don't know then I will try that topic

samith-ny
Автор

sir you are the teacher for me because all other teachers teach me but after i have a lots of doubts in my mind but now in this moment i am cleared in my mind without any doubts . thanks sir

movies_hub_
Автор

Call Stack samjh aa gaya bhaiya. In short, global execution context ke andar memory execution phase ke andar variables undefined hote hain & functions pure ke pure complete hote hain. Code execution phase ke andar variables ko data assign krr diya jaata hai and typeof bhi signify krr diya jaata hai. var global hota hai, let and const script ke andar aate hain. function call bhi global ke andar aate hain. function ke andar ka part { } curly brackets ka part local scope hota hai mtlb uski validity sirf uske hi area mein hoti hai. Function ke call hote hi hum memory creation phase se code execution phase mein chale jaate hain. Code Execution Phase ke andar local execution context banta hai. JIske andar memory creation phase hota hai and code execution phase hota hai.

Call Stack ek aisa mechanism hain jisse hum pata karr sakte hain ki Javascript engine kaunse function mein hain aur kaunse line number mein code execution ho rha hai. Stack ke andar sabse pehle global execution context store hota hai jiske andar hi saare functions hote hain. uske baad one by one jiss order mein functions call hue hain aate jaate hain. Jo last mein aata hai wohi pehle close hota hai and remove ho jaata hai. Last in first out(LIFO) ka concept work karta hai Stack mein. Jaise hi code run hona complete ho jaata hai, stack empty ho jaata hai top to bottom order mein.

Bhaiya kuch galat ho mere understanding mein toh please correct kariye ga mujhe. Aur kya kammi hai kahan zor dena chahiye bhaiya bata dijiye ga. Aaj neend nhi aa rhi hai toh soccha summary likh loon, revise bhi ho jaayega mera!. Good Night bhaiya Ji.

adityasinghh
Автор

00:02 Understanding execution context and function calls in JavaScript
01:30 Understanding the call stack mechanism in JavaScript
04:32 Understanding Call Stack in JavaScript
05:58 Call stack management in JavaScript
08:27 Understanding call stack and execution context in JavaScript.
11:36 Execution context is created for each function call in the call stack.
15:08 Understanding call stack overflow in JavaScript
16:48 Understanding the call stack in JavaScript is crucial for debugging and optimizing code.
Crafted by Merlin AI.

AdarshSingh-hmss
Автор

understood ++
aur bhi achhe say samj gaya

I started this playlist This is day 3 I know basics of javascript so I will binge watch basic part and if I found any topic which I don't know then I will try that topic

Pushpak_UE_devlover
Автор

bhaiya me apka fan ho gya hu?🤩🤩 No one is explaining like you.

sharemarketgyaan
Автор

The way you teach the stack overflow concept is just amazing
Thank you for giving such deep knowledge ❤

Ketan.
Автор

Day 11: video 31 completed ....thank you sir making such great video 😊

Collecting_one_piece_fan
Автор

One of the best channel for JavaScript sir ji ❤ sir aap Kamal ke padhaate ho kya sar aapane Mere 30 - 35000 bacha Diya thanks 🙏

DhananjayKumar-ufob
Автор

amazing explanation sir...maja a gaya...padh k

himanshuprajapati
Автор

Finally Global executation phase memory creation phase code execution phase or call stack samajh a gya thanks a lot sir 😊 Ap ko m bata nhi sakta k m kitna pareshan tha is k lea

pxycknomdictator
Автор

Hir bro, black board is not avilable in the github repositary

santhosh
Автор

sir yeh black bored kahan sy downloed kia

abdul_
Автор

Sir jab console.log memory creation me nhi show hota h or wo directly execute hota dikhai deta hai execution phase ke ander to sir phir console kaha par hota h?

ashishkumar-jocj
Автор

Sir same function call pe call stack exceed horhi ha....To agr hum dosra koi function call krte han us me ni ho rha ....ye kse

mualajutt-th
Автор

how can I download this execution context diagram ?

ignite
Автор

Mera ek hi baar call stack kr rha hai 😢

soundperception
Автор

Interviewer - what is call stack?
me - call stack ke andar kuchh bhi aata hai😅

sureshchoudhary
Автор

Please make video on SOLID Principals in React

Vaibhav
Автор

manually continuing debugger,
10, 000 years later.

Maximum call stack exceeded

chandanachaandh