Тёмный

How does javascript execute code + call stack | chai aur  

Chai aur Code
Подписаться 330 тыс.
Просмотров 130 тыс.
50% 1

Visit chaicode.com for all related materials, community help, source code etc.
#javascript #hindi
Sara code yaha milta h
github.com/hiteshchoudhary/
Discord pe yaha paaye jaate h:
hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial

Наука

Опубликовано:

 

14 май 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 608   
@OnesAndZeros_01
@OnesAndZeros_01 11 месяцев назад
1.JS creates Global excution context 2.Next it creates memory phase 3.Memory phase - In this phase,the variables are set to undefined until the execution phase(next phase) and the functions are set to their definitions. 4.Next it creates the execution phase 5.Execution phase - In this phase,the variables are initialsed to given values and when the function s are called,it creates a memory phase and execution phase for the function just like the main one. For live demo: browser > inspect > Sources create a snippet with few functions and visually experience the call stack. correct me if there are any mistakes or add to this if something is missing.
@keshav1955
@keshav1955 11 месяцев назад
Returned value is passed to the global environment
@sumitbhardwaz
@sumitbhardwaz 10 месяцев назад
Execution context gets deleted as well
@shubhamtyagi2901
@shubhamtyagi2901 9 месяцев назад
If you can elaborate a little more on the demo part, like how to do things over there on browser, anyways u've done a good job 👍my friend
@user-vl9dt5lc2h
@user-vl9dt5lc2h 3 месяца назад
Understand call stack with the help of live demo : browser > inspect > Sources 1.then create a snippet by clicking on the arrow(>>) next to workspace 2.then write down some functions in the created snippet ,do save them by ctrl+S 3.Create breakpoints and run the code and keep eye on call stack to visualize how it works. correct me if there are any mistakes or add to this if something is missing.
@rupeshpal7292
@rupeshpal7292 8 месяцев назад
I am having two years experience as a front-end developer but the things cleared here that was no one explain. Even not talked about, so thanks a lot for your way of teaching. 👏👏
@parimalgurjar9553
@parimalgurjar9553 5 месяцев назад
Hello, I know HTML CSS JavaScript and python can I get a job?
@factsinshort974
@factsinshort974 4 месяца назад
@@parimalgurjar9553 yes u can just make a good resume, make good projects and highlight them in your resume and add your skills and projects on the top of every section.
@rohit4255
@rohit4255 2 месяца назад
@@parimalgurjar9553 no you cannot
@tarunpanwar6983
@tarunpanwar6983 Месяц назад
u have 2 years of experience and u don't know the basics concepts .😂
@rohit4255
@rohit4255 Месяц назад
@@tarunpanwar6983 beta tum nhi samjhoge...
@harshalkhobragade972
@harshalkhobragade972 6 месяцев назад
🔵The working of the JavaScript works on three phases: 1. Global Execution Context 2. Memory phase / Creation phase 3. Execution phase 🔵Phase 1: Global Execution Context The value of `this` keyword is set to Global Execution Context (which is an empty Object in NODE environment, & window object in browser environment) 🔵Phase 2: Memory phase During this phase, JS engine scans the code and assigns the initial values for the variables , functions, etc.. For variables they are 'undefined' and for functions they are set to their function definition 🔵Phase 3: Execution phase After the creation phase completed, the execution phase begins where actual values of the variables are set. And when the functions are called it creates a new 'Function Execution' context which consists of two phases (they works same as explained above but only for the particular function scope): 1. Memory phase 2. Execution phase 📝The return value of the 'Function Execution' context is passed to the Global Execution Context Amazing videos Hitesh Sir, Learning a lot..!! 🔴Correct me if something I explained is Wrong
@salmanhaider8182
@salmanhaider8182 3 месяца назад
ap na corse complete kar lia ha?
@learncode5110
@learncode5110 Год назад
That what making this tut standout from other because you're advance concepts in basic and covering all complex concepts in early stage..keep going
@chaiaurcode
@chaiaurcode Год назад
Bne rhiye, web development me expert kr denge
@md.sameershahzada2423
@md.sameershahzada2423 8 месяцев назад
Thank you so much for this clear explanation @chaiaurcode hitesh sir. Outsdanding.... Bas Aapka hi intezar tha sir
@mansoorafzal4344
@mansoorafzal4344 5 месяцев назад
Honestly, no one has every explained like this before. u really deserve appreciation....
@nitinmore7686
@nitinmore7686 10 месяцев назад
Seen first time how program runs in memory! Thnx Hitesh ji! I was waiting for this to understand since 2011...!
@music_2311
@music_2311 9 месяцев назад
Amazing video i never seen a educator who teach and talked about any language & in its components in this depth.... Thanku for this and please post more videos like this ...
@tanishaguptacse2032
@tanishaguptacse2032 3 месяца назад
Never seen such detailed video on execution context... hats off
@_034_divyanshusrivastava6
@_034_divyanshusrivastava6 8 месяцев назад
brilliant video, no one explains such complex topics with such ease, LEGENDARY
@user-pt9zd7wn7o
@user-pt9zd7wn7o 8 месяцев назад
Very depth explanation after 4 years of working today I understand how JavaScript exactly works... Thanks Hitesh sir...i have seen many other videos but not understood
@Mojo_._Jojo
@Mojo_._Jojo 9 месяцев назад
This is the best detailed video in all of youTube , Keep up the Good Work! You are a great teacher , Thanks!
@HydroJudge
@HydroJudge 8 месяцев назад
Sir this video was much needed. Coding toh theek hai practice se aa jaati hai lekin yeh in depth baatein aage interviews mein kaafi acha impression bana ti hai. This is a good and in depth video
@thecalgarians4597
@thecalgarians4597 4 месяца назад
Mind blowing video. I've read the docs on CallStack several times but never had I have this level of clarity. Simply AMAZING Hitesh ji
@AmitSingh-dc2un
@AmitSingh-dc2un 4 месяца назад
literally I'm enjoying doing code, with your playlist. Thank you so much, much love from jaipur
@getit3505
@getit3505 9 месяцев назад
Kafi detailed main sikha sir mja aa gya
@harvindersingh9170
@harvindersingh9170 7 месяцев назад
This free video is more effective and full of real content than paid courses. Really doing the great job with the content and the selection of important topics.
@user-uo8zi1ms8u
@user-uo8zi1ms8u 4 месяца назад
For the first time, I saw such a deep JavaScript memory allocation video on RU-vid. ..Thank you very much Sir
@adatg
@adatg 8 месяцев назад
Cleared the concepts. Thanks GuruJi
@mayankjoshi2077
@mayankjoshi2077 11 месяцев назад
Kya baat hai hitesh sir ❤ , kitna depth ma explain kiya hai ... Aage bhi aise depth mai concept karte rehna ... Thank you 🙌 sir...
@avipatel7106
@avipatel7106 4 месяца назад
That's an amazing video and clear explanation, Hitesh Sir.
@tharakakarunarathne2420
@tharakakarunarathne2420 10 дней назад
Clear explanations. ❤From Sri Lanka
@SandeepDhama
@SandeepDhama 8 месяцев назад
Ye concept maine kahin padha nahi tha. Main ek Google Apps Script ke andar ek project bana raha tha to wahan debugging karte time se notice kiya tha. Abhi aur bhi clear ho gaya.
@sumanthr2103
@sumanthr2103 9 месяцев назад
Hats-Off for your dedication Sir, You are teaching like a maestro! Thank you and continue the same sir.
@mehakkamran3929
@mehakkamran3929 5 месяцев назад
so indepth yet so precise and to the point
@codenoobdev
@codenoobdev Год назад
whenever i see sir's video notification it makes me feel so good. Even though I know the basics but still i watch it because itna deep teaching koi nai karta.. thanks
@user-nq2of3vv1s
@user-nq2of3vv1s 6 месяцев назад
That's great! Everything is explained like bread and butter. Btw watching from Bangladesh. Best of luck brother.
@Om-pant02
@Om-pant02 11 месяцев назад
This is really an amazing video on javascript. This detailed explanation deserves a ❤. thanks Hitesh sir for bringing this js series to the next level really loving this ❤❤❤ Thanks 😊
@abhihirwani4403
@abhihirwani4403 11 месяцев назад
This is very amazing in depth explanation on global execution. and needing this kind of video for every topics in depth
@wasimrafik3535
@wasimrafik3535 11 месяцев назад
amazing explanation liked it alot but please please make this kind of videos more frequently
@dibbyarupdutta3525
@dibbyarupdutta3525 4 месяца назад
One of the best explanations, made it so easy to understand.
@akash02k
@akash02k 2 месяца назад
Amazing quality Hitesh 👍👌
@amazingfacts1758
@amazingfacts1758 8 месяцев назад
Amazing Teaching Style, Thank You Sir
@azeemdeveloper4815
@azeemdeveloper4815 5 месяцев назад
top notch content with soft voice.. you are awesome sir.
@harshitjaisawal7561
@harshitjaisawal7561 4 месяца назад
I am very happy with this series, getting lot of knowledge.
@bablubhaii927
@bablubhaii927 4 месяца назад
Wow!Just Beautiful Explanation
@kishanverma5635
@kishanverma5635 4 месяца назад
I never watched this type of deep knowledge video in RU-vid. Thank you sir ❤❤
@roshanrawat4100
@roshanrawat4100 10 месяцев назад
Thank you so much sir ji 😊😊 Pure RU-vid pe sabse best series hai JS ka😇😇
@roastart
@roastart 9 месяцев назад
The best video on the internet about javascript execute code + call stack
@soniyajaglan5986
@soniyajaglan5986 6 месяцев назад
Thanks a lot for this series. Pls keep doing great job.
@amolahirrao5494
@amolahirrao5494 9 месяцев назад
Sir kitna acche se samjhaya aapne , aapka samjahane ka tarika bhot accha hai Thank You 🙂🙃
@user-uy7iy5we5m
@user-uy7iy5we5m Месяц назад
Honestly, no one has explain like this. u really deserve appreciation....👍👍👍
@makwanajigneshnarendrabhai2998
@makwanajigneshnarendrabhai2998 7 месяцев назад
Very clear explaination of both EC and CS, Thanks
@lalrohitnathshahdeo807
@lalrohitnathshahdeo807 7 месяцев назад
I am watching this lecture second time and everything is crystal clear
@RajeshMudi
@RajeshMudi Месяц назад
majha aah gya sirji dubara dekh kar ...
@MuhammadYasir-cl4jp
@MuhammadYasir-cl4jp 7 месяцев назад
Now the execution of the JavaScript code is cleared. Thanks hitesh sir for making top quality content❤❤
@deveshsharma534
@deveshsharma534 5 месяцев назад
Hitesh Sir, honestly i fell very lucky to found this channel. I was struggling to learn JS basics + Depth. But here, Found the exact content i was looking for. You made learning JS a fun activity. Would definately like to proceed further with all your publised content, after JS completion. Also, i shared on linked. Because: const Motivation = "zaruri h apke liye bhi" 😁
@Mahin_katariya
@Mahin_katariya 2 месяца назад
will watch this video again for revision 🔥
@ramansworld3879
@ramansworld3879 9 месяцев назад
hatsoff to you.... I landed to watch your react video , but in react video you said, dont watch it if you dont know javascript.... That was turning point for , coz I never heard a youtuber says, dont watch this if you you dont know that first.... In fact I bought a code on udemy for react , but couldn't complete as the person used all advance concept of JS, but in the begining he said , you can learn react even ifyou are naive to JS...Believe me I couldn't complete... its still there... BIG SALUTE TO YOUR TEACHING STYLE.... WORLD IS RUNNING COZ OF GIVERS LIKE YOU :)
@yashwantsahu4322
@yashwantsahu4322 3 месяца назад
Thank you sir, this is what every javascript course lack. I really enjoyed the video.
@tanishkagupta6864
@tanishkagupta6864 8 месяцев назад
Sir literally kahi aisi series ni dekhi
@RajuKumarPal-pz1us
@RajuKumarPal-pz1us 6 месяцев назад
aap ki video dekha ke dil khush hogya sir ji
@RahulSharma-wz6yv
@RahulSharma-wz6yv 4 месяца назад
I was expecting the indepth content, but This is far beyond my expectation, thanks
@adityapatel8651
@adityapatel8651 3 месяца назад
So great explanation and love your explanation style
@Hariom_Singh22
@Hariom_Singh22 8 месяцев назад
Enjoying learning JS with you Sir, thanks for making this tutorial
@rohitrai9498
@rohitrai9498 9 месяцев назад
awsm video sir just clear every thinn
@purvangsuhagiya
@purvangsuhagiya 7 месяцев назад
Thank you sir for the detailed explanation. I have watched many videos but never seen such method of explanation and offcourse no one teaches such type of content. So, I appreciate you sir. And I hope your channel grow more and more as you make your videos with this type of detailed information. I really like it a lot. I am looking forward to learn with you. Thank you.
@Waleedkhan-zh8hm
@Waleedkhan-zh8hm 10 месяцев назад
Nice Explanation, One the Sweetest Teacher in the World. ❤❤
@govindsen2230
@govindsen2230 2 месяца назад
IMP DOUBT: I think variable declared with "let" should be replaced by "var", because on adding breakpoints and running on browser, var is giving "undefined (that is in Global scope)" and let is giving "value unavailable (that is in Script scope)". Reason behind this is "var" can be accessed before its execution and gives value as "undefiend", whereas "let" and "const" gives error that "they cannot be accessed before initialization"". REASON: Because of Temporal Dead Zone.
@user-di6tr9qs7y
@user-di6tr9qs7y 28 дней назад
I also have the same doubt.
@kartikrajput2131
@kartikrajput2131 Год назад
very important information , jo bohot logo ko pata hi nahi hoti, par aaj samj aa gaya
@DreadSpecterOfficial
@DreadSpecterOfficial 3 месяца назад
You are a genious teacher , Majak majak pe stack bhi para diya
@anaskhan5471
@anaskhan5471 10 месяцев назад
This series is next level thanks for providing this excilent content free❤❤❤❤❤
@reemkhan3524
@reemkhan3524 3 месяца назад
Excellent job sir , appriciated your hard work
@singhamita
@singhamita 2 месяца назад
Such an epic level of crsytal clear explanation and to the point . This channel is one stop solution for JAVASCRiPT MASTERY !!
@Createach_-
@Createach_- 5 месяцев назад
All Time Favorite Teacher in Javascript. Thank you for this series💛💛
@twaritagrawal1232
@twaritagrawal1232 3 месяца назад
very informative and in-depth video🙌🙌
@sufyanali837
@sufyanali837 8 месяцев назад
seriously , it's a top-notch content ......
@sudiptaanirban8833
@sudiptaanirban8833 24 дня назад
Even if this series is one year old, I'm watching it and loving it thank u so much love from BD man!
@Find4You
@Find4You 3 месяца назад
Great sir, I am blessed with JavaScript now after watching your chai aur javascript play list.👍
@somnathbedia
@somnathbedia Год назад
Amazing video Very good explanation sir... Aap aise hi content bnate rehye hum chai lekar apse coding sikhne aa jaya krnge.
@tanishqsehgal2593
@tanishqsehgal2593 5 месяцев назад
Great Explanation. I have been watching this series since some days now and all the topics are properly explained and are easy to understand as well.
@AwaisAhmed-7722
@AwaisAhmed-7722 9 месяцев назад
Great Work (🥰) Detailed Explanation
@sonaiyamonika7229
@sonaiyamonika7229 5 месяцев назад
Amazing Explanation sir thank you!!
@CodeWithSanjay07
@CodeWithSanjay07 9 месяцев назад
superb sir bhot maja aa raha he javascript me
@Test2-ex9qf
@Test2-ex9qf 5 месяцев назад
i'm frontend and backend developer , working on js and jquery from last 2-3 year i just seen your react videos which is very intertesting so i want to see to js playlist , but the concept i see , i was not learned in my whole career because in the playlist you execute the code in every senrio ether its a error or not . I loved it so much and it clear many concept truly appricated. I shared your channel to my collegue and my known IT student as well
@maiharshithu
@maiharshithu 9 месяцев назад
sir badhiya tha in depth me
@abdulsaad8791
@abdulsaad8791 7 месяцев назад
One of the best js video where you'll now never forget how the JS Execution Context Work. One of the best JS Series. I'll highly recommend who's complete beginner.
@code3307
@code3307 3 месяца назад
It's amazing explanation on RU-vid.. I can't believe this type of content gives you free.. thankyou hitesh sir..
@rohitsingh04141
@rohitsingh04141 3 месяца назад
That what making this tut standout from other because you're advance concepts in basic and covering all complex concepts in early stage.
@amdadsarkar1459
@amdadsarkar1459 8 месяцев назад
Dear hitesh bro you are doing amazing job
@milindchaturvedi9770
@milindchaturvedi9770 3 месяца назад
Amaing content ! Pehli baar js sikh rha hu , wow haven't learnt any programming language with this much depth !
@shahbazliaquat00
@shahbazliaquat00 7 месяцев назад
thanku sir and love you, really amazing way and first time in 3 years I enjoy to learn JS, may be is bar dil laga k kar raha lakin apka andaz bht kamal ha
@pradeep...thakur..7139
@pradeep...thakur..7139 8 месяцев назад
Great video sir..... Keep it up..
@mayeshafairuz
@mayeshafairuz 5 месяцев назад
Sir Apki motivation bni rehni chhiye 🔥you are changing lives over here 🔥
@ravivishwa5197
@ravivishwa5197 9 месяцев назад
Totally understood in depth.
@Instrumentation010
@Instrumentation010 6 месяцев назад
Haan ji best part of all videos.
@akashdeepgupta9892
@akashdeepgupta9892 3 месяца назад
very in depth and good explanation
@codingmaster719
@codingmaster719 9 месяцев назад
Amazing video, Thank you so much sir, for going this much deep.
@chandreshthakor9644
@chandreshthakor9644 2 месяца назад
Thank you sir for the detailed explanation.
@vivekchigure525
@vivekchigure525 5 месяцев назад
ty bhai ,your baap of all coding gurus
@AmanPandey-bd1sj
@AmanPandey-bd1sj 8 месяцев назад
Perfect Explanation sir thanks a lot for this type of content 🙏
@ShravanKumar-wg9pv
@ShravanKumar-wg9pv Месяц назад
kaash ye video mujhe pehle hi mila tho muje javascript samjneme uthna mushkil nehi hothi(abhee bhee mai Js padaikar raheehuu chai aur code ki jacascript dhekne ko shuru kiya )... Sir esee tharah information vale video bhejthe rahihe .... dhil se bhoth hi Shukriya (from kerala)
@hiphop861
@hiphop861 7 месяцев назад
Literaaly Sir not even in the paid course. This kind of indepth content. We will not get. Thank you so much sir.
@yashrajsingh4215
@yashrajsingh4215 9 месяцев назад
sir amazing video i cant express how good these videos are im so happy that i found this gem of a playlist
@safayetthe1savage608
@safayetthe1savage608 5 месяцев назад
This is called quality content ❤
@SARITAKUMARI-et1py
@SARITAKUMARI-et1py 4 месяца назад
Really you are just awesome!!! Even i started React course first but you told first learn JavaScript in depth so just thought to just go through once as i already working in JS. But after starting i take oath that will learn all the small small things also in depth not just to finish things but to know things and that is turning points for me. Thanks a lot for depth course
@askgurdit
@askgurdit Месяц назад
Really helpful video, in depth
@talhasupport3670
@talhasupport3670 6 месяцев назад
Great explanation We like this kind of videos keep it up sir.
@vaibhavjoshi6853
@vaibhavjoshi6853 3 месяца назад
Hats off to your efforts Sir!!
@kuldeepsinghrana8081
@kuldeepsinghrana8081 2 месяца назад
Thanks Sir your hardwork is evident in your work
@sohomdas2767
@sohomdas2767 7 дней назад
Thanks a lot Hitesh sir. Aise execution aapne samjhaya, I believe no one can. But after watching your video, I can explain it to others. You are right, teaching is an art. :)
Далее
Now you know fetch in javascript | chai aur #javascript
18:37
когда повзрослела // EVA mash
00:40
Просмотров 1,6 млн
Olive can see you 😱
01:00
Просмотров 17 млн
How does a browser work ? | Engineering side
30:22
Просмотров 71 тыс.
Golang is OG?
5:16
Просмотров 5 тыс.
Async Javascript fundamentals | chai aur #javascript
19:12
Why are you not creating anything in c++ ?
14:46
Просмотров 83 тыс.
ДЕШЕВЫЙ НОУТБУК C OZON ЗА 17000р
13:00