JavaScript Under The Hood [1] - Thread & Call Stack

  Рет қаралды 116,353

Traversy Media

Traversy Media

Жыл бұрын

In this video, we will talk about JavaScript's main thread as well as how the call stack works.
💻 My Courses & More
traversymedia.com
💖 Show Support
Patreon: / traversymedia
PayPal: paypal.me/traversymedia
👇 Follow Me On Social Media:
Twitter: / traversymedia
Instagram: / traversymedia
Linkedin: / bradtraversy
Timestamps:
1:02 - Thread Of Execution
2:50 - Call Stack Explanation
3:38 - Slide Example 1
4:34 - Slide Example 2
5:16 - Browser Example 1
7:10 - Browser Example 2

Пікірлер: 131
@nudecode
@nudecode Жыл бұрын
As always amazing content. Simple step by step easy to under stand, no wank about how much you know, which is often irrelevant to what is being taught. Love that it’s about the “behind the scenes” workings. Confident this will be a great series.
@ahmad-murery
@ahmad-murery Жыл бұрын
Very nice Brad, this will add a new flavor to the channel, the cool thing in callstack tab is that you can click on any stack item to go back and forth in execution time and see how your variables changes and where the error came from in case of any
@mznunaya
@mznunaya Жыл бұрын
My gawd I love you. You're just amazing. There isn't a single video of yours I haven't watched. Your way of teaching is flawless.
@abdouazizndiaye7229
@abdouazizndiaye7229 Жыл бұрын
I thought this the most important concept in JavaScript this video come at the right time cause that’s what I’m actually learning thanks Brad ❤️
@horic007
@horic007 Жыл бұрын
This series is very useful for people who want an indepth knowledge of Js. Thanks Brad. 🙌🏼
@732brudder
@732brudder Жыл бұрын
Thank for this. Timing is perfect. I was recently sort of forced into learning this stuff backwards. I had to learn a bit of React, Vue, and Svelte in order to accomplish something I needed for work. While learning these frameworks I was super unfamiliar with Javascript. I had learned it a bit in college, but never any real world experience. These videos are helping a ton actually understand how JavaScript works under the hood. I learned a lot of this for other languages in college, but have been asking this question a ton. Especially in web development, it's really difficult to understand exactly when certain code will/is being executed. Extremely important lesson to learn if you want to know exactly what you are doing. Thanks for this series, keep this going! Edit: Also loving this insight into the dev tools in web browsers. Also a very skimped over part of my journey to web app development. Will need to clean up some code I've hacked together for some projects.
@christopheanfry2425
@christopheanfry2425 Жыл бұрын
Awesome serie idea. I think very important to understand deeper how js works. Very interesting and well explained as usual. 💪🏻
@nickstaresinic9933
@nickstaresinic9933 Жыл бұрын
Very nice, clear explanation of an important (and sometimes confusing) topic -- and in ~9 minutes, too.
@lorenainfanter.3099
@lorenainfanter.3099 6 ай бұрын
Great series! I struggled a little bit with those concepts but you helped me to clarify all. Thank you very much!!
@universecode1101
@universecode1101 Жыл бұрын
This lesson is very important. Learn the basics html css and js. Thanks Brad
@hachikoi-san3901
@hachikoi-san3901 Жыл бұрын
This is beyond basic tho
@Chris-zt4ol
@Chris-zt4ol Жыл бұрын
@@hachikoi-san3901 I think he means fundamentals
@yousoumar
@yousoumar Жыл бұрын
Really interesting series. It's really interesting to know what's happening under the hood. Thanks Brad.
@mahdisalmanizadegan5595
@mahdisalmanizadegan5595 Жыл бұрын
Thank you brad for this amazing series, i wish you all the best possible. more positive energy.
@hamzahmd_
@hamzahmd_ Жыл бұрын
Thanks, Brad for this high-level stuff.
@DanielSmith-yx6zm
@DanielSmith-yx6zm Жыл бұрын
Great Stuff. Definitely the kind of things I want to learn as a developer.
@codyfingerson743
@codyfingerson743 Жыл бұрын
This is awesome! Thanks Brad! Do you by chance have a crash course on DS & Algorithms? I love your style of teaching, and would love to watch a crash course on that!
@dalyryl
@dalyryl Жыл бұрын
Thanks for this Traversy, this was a very important course despite of rapid changing of JS Libraries and frameworks
@JigJason93
@JigJason93 Жыл бұрын
Very well explained, I already love this series, thank you for your contribution.
@LewisChapman-ic1lb
@LewisChapman-ic1lb 9 ай бұрын
3:15
@diegotayro1555
@diegotayro1555 Жыл бұрын
Maybe the best video topic of this channel and youtube regarding coding.
@bojanchurlinov1385
@bojanchurlinov1385 Жыл бұрын
Great job Brad, keep up the great work you are doing 😁
@dror-krief
@dror-krief Жыл бұрын
I love you brad thank you I started follow you because my teacher told me that you are a great source to learn good tech
@parvati27
@parvati27 Жыл бұрын
Brad is the best teacher in the world, thank you brad 💜
@JJ-qy4gf
@JJ-qy4gf Жыл бұрын
I had no idea the source tab is where you can see the call stack! Great video!
@kaloianangelkov4919
@kaloianangelkov4919 Жыл бұрын
I've been waiting for those kind of videos from a long while! Thanks
@Vendavalez
@Vendavalez Жыл бұрын
You’re doing the good work Brad! Thanks!
@iloveher9527
@iloveher9527 Жыл бұрын
Awesome ❤️ this kind of videos is really important; keep it up 🔥
@tonmoyroy2350
@tonmoyroy2350 Жыл бұрын
Awesome tutorial. Thanks Brad ❤️
@datumcoder
@datumcoder Жыл бұрын
Thank you for the video Brad! It really helps! 😎
@PoojaSharma-yn5dp
@PoojaSharma-yn5dp Жыл бұрын
This channel content is unmatched.👌
@taofeeqomotolani2311
@taofeeqomotolani2311 Жыл бұрын
This is such a great video, I came to watch it after I saw Brad's tweet about a comment he read on probably this video.
@BijanProgrammer
@BijanProgrammer Жыл бұрын
Awesome! I really have high hopes for this series.
@robscherer
@robscherer Жыл бұрын
Pumped for this series!
@sojuthomas7727
@sojuthomas7727 Жыл бұрын
Thanks Brad.Loved it ❤️
@Adnankhan-bl3mc
@Adnankhan-bl3mc Жыл бұрын
Now this series is gold
@Marjolein_1979
@Marjolein_1979 10 ай бұрын
This is a very clear explanation.
@AnthonyCandaele
@AnthonyCandaele Жыл бұрын
Very good explanation of the call stack. If your updated Javascript course will be as good as this, I'm looking out for it.
@jmonterojr
@jmonterojr Жыл бұрын
This is great stuff. Thanks Brad!
@dimitrisvain
@dimitrisvain Жыл бұрын
Great series! Thank you!
@dinaesmaeili1814
@dinaesmaeili1814 Жыл бұрын
It was awesome mate! thanks for such nice course.
@yodkwtf
@yodkwtf Жыл бұрын
you're awesome. Tons of free valuable content
@georgemoraitis1923
@georgemoraitis1923 Жыл бұрын
Amazing information! Thank you very much.
@stu3131
@stu3131 Жыл бұрын
Outstanding! More deep dives!
@rfryanfavour4369
@rfryanfavour4369 Жыл бұрын
Thank you Mr Brad, you are the best
@ismoiljonabduqahhorov5825
@ismoiljonabduqahhorov5825 Жыл бұрын
Thanks Brad you are the best ❤️
@richardkirigaya8254
@richardkirigaya8254 Жыл бұрын
Thank you so much for this brad
@seanpalmer1145
@seanpalmer1145 Жыл бұрын
Great stuff as ever. Much appreciated
@muhammadidrees6650
@muhammadidrees6650 Жыл бұрын
loving it Brad.
@devanshshah1
@devanshshah1 Жыл бұрын
i learn more from you then mm college and u have prob helped me get a job
@tamlq97
@tamlq97 Жыл бұрын
Thanks sir, this video was the one I am looking for :3
@willadams6217
@willadams6217 Жыл бұрын
Great explanation and example.
@odehadejoh9966
@odehadejoh9966 Жыл бұрын
Well explained Brad.
@yannisstaali3257
@yannisstaali3257 Жыл бұрын
I love this kind of video !!!! Thank you !!
@seemsas
@seemsas Жыл бұрын
thank you for the series
@andrestorres3239
@andrestorres3239 7 ай бұрын
Great!!!
@amingrateful7661
@amingrateful7661 Жыл бұрын
You're just amazing man 👍🏻
@rubanruban5617
@rubanruban5617 Жыл бұрын
Nice Video brad, Thank you
@programer9620
@programer9620 Жыл бұрын
Thanks it was really helpful.
@charbelboughazale3994
@charbelboughazale3994 Жыл бұрын
thank you man, you helped me ALOT
@RavenOfLaughter
@RavenOfLaughter Жыл бұрын
Well explained
@vinaypatil8009
@vinaypatil8009 Жыл бұрын
Awesome sir Please make video on javascript Explain everything about javascript
@masroorali9307
@masroorali9307 Жыл бұрын
Amazing Brad!
@MartinMasevski
@MartinMasevski Жыл бұрын
So much interesting! Thanks
@scottlittleton5653
@scottlittleton5653 Жыл бұрын
Hey Brad could you possibly cover "web workers" or "worker threads" as a possible way that JS may be used in a multi-threaded way. I have seen it mentioned before but it would be nice to understand better. thanks for the videos
@deejaydev
@deejaydev Жыл бұрын
Thats whats up, thanks for your deditcation and time.
@moustafamahmoud4948
@moustafamahmoud4948 Жыл бұрын
Great job sir
@mouridamine3237
@mouridamine3237 Жыл бұрын
i like this series it's good for interview question
@youssefyoutube4536
@youssefyoutube4536 3 ай бұрын
Can you believe i came here from chat gpt 😅 Respect man chatgpt recommended your channel !!!
@josephwong2832
@josephwong2832 Жыл бұрын
Brad Traversy is awesome!
@subratachatterjee6333
@subratachatterjee6333 Жыл бұрын
Sir, You are awesome and the best to me. I want a full stack web development course from you on udemy platform. As of now I have purchased maximum of your courses on udemy. No question arises about the quality and depth of your courses. I have been eagerly waiting to get a complete full stack web development course from you, Sir.
@shishirislam8948
@shishirislam8948 Жыл бұрын
This best time to learn your video..
@Sarvesh_Coder
@Sarvesh_Coder Жыл бұрын
Very important 👏 and nice
@lifeisbeautifu1
@lifeisbeautifu1 Жыл бұрын
Thank you
@mahdikamran8061
@mahdikamran8061 6 ай бұрын
Thank you.
@vijayakumarv2633
@vijayakumarv2633 Жыл бұрын
Good job👍, looking for other videos
@jhmesseroux
@jhmesseroux Жыл бұрын
amazing 👌
@alefsdev
@alefsdev Жыл бұрын
Thank you!!!!
@hrudayd4217
@hrudayd4217 Жыл бұрын
Waiting for this content from traversymedia, final got
@dimitmoto1716
@dimitmoto1716 Жыл бұрын
Thanks a lot!!!
@_Iokanaan_Marusidze_
@_Iokanaan_Marusidze_ Жыл бұрын
Thanks
@javadmh7827
@javadmh7827 Жыл бұрын
Awesome 👌
@javascriptes
@javascriptes Жыл бұрын
Awesome stuff
@kunnudev7250
@kunnudev7250 Жыл бұрын
Brother great job please continue awesome videos salute to you plz make videos on c c++ Java oops
@JagdishAdusumalli
@JagdishAdusumalli Жыл бұрын
This is Gold
@azengakevin9599
@azengakevin9599 Жыл бұрын
Amazing
@andrewayad
@andrewayad Жыл бұрын
Do you know that I immediately hit that like button as soon as I it appears on your new videos even before the video starts playing?
@myestery
@myestery Жыл бұрын
Waiting for this all my career
@tonyantony1977
@tonyantony1977 Жыл бұрын
amazing
@jamesmay5088
@jamesmay5088 Жыл бұрын
I am first! Thanks for this super content👍👏
@justlife7
@justlife7 Жыл бұрын
Best 👍
@codedancingwithmilos
@codedancingwithmilos Жыл бұрын
Yes Boss!!!
@serychristianrenaud
@serychristianrenaud Жыл бұрын
thank
@PabloGnesutta
@PabloGnesutta Жыл бұрын
Si, could se say that the second example is somewhat more expensive than the first? Because there is more context loaded on the stack at any given time. Or it doesnt work like that?
@techaddictdude
@techaddictdude Жыл бұрын
Hi where can I get the presentation slides, great video brad.
@nkhan6898
@nkhan6898 Жыл бұрын
8:55 Oh Yess!
@wusaby-ush
@wusaby-ush Жыл бұрын
That’s great
@mpb0406
@mpb0406 Жыл бұрын
Great video. Any plans to get into data structures and algorithms in this new series?
@Arabian_Epileptic
@Arabian_Epileptic Жыл бұрын
I have videos on my channel on that topic
@skylench
@skylench Жыл бұрын
It's funny how Brad has to apologize for not being great at certain things when in reality those things couldn't be any better or more comprehensive... Imagine how perfect those things he feels he's good at would actually look. The guy is just a genius
@WillFlores1
@WillFlores1 Жыл бұрын
In the second example why doesn't it print "third..." "second..." "first..." in this order? If third() is popped off call stack first?
@MuhammadAdnandJodyPratama
@MuhammadAdnandJodyPratama Жыл бұрын
So stack is Last In First Out, but in the context of a called function, if one function is done it will not be stacked and will not wait until the last function is done too (all process), isn't it right?
@acrosstundras
@acrosstundras Жыл бұрын
Great videos. But when you say 'everything is executed line by line' is sounds like there is no compilation step, that the instructions for the machine are interpreted straight from the source code. But there is in fact a compilation step before execution. This detail helps explain some things like hoisting.
@abdukhamidtolipov6461
@abdukhamidtolipov6461 Жыл бұрын
good
JavaScript Under The Hood [2] - Execution Context
14:28
Traversy Media
Рет қаралды 74 М.
Duck sushi
00:54
Alina Saito / 斎藤アリーナ
Рет қаралды 22 МЛН
😅🐱@grechkasan.
00:13
Karina
Рет қаралды 18 МЛН
Stop Worrying About AI!
6:40
Traversy Media
Рет қаралды 45 М.
JavaScript Under The Hood [4] - Memory Storage
12:58
Traversy Media
Рет қаралды 42 М.
What Is an AI Anyway? | Mustafa Suleyman | TED
22:02
TED
Рет қаралды 318 М.
JavaScript Higher Order Functions & Arrays
34:56
Traversy Media
Рет қаралды 974 М.
Looking Under the Hood of JavaScript
6:34
ThePrimeagen
Рет қаралды 172 М.
Understanding the V8 JavaScript Engine
10:44
freeCodeCamp Talks
Рет қаралды 84 М.
JavaScript DOM Crash Course - Part 1
39:01
Traversy Media
Рет қаралды 1,1 МЛН
Are You Too Dumb To Code? A Chat About Imposter Syndrome
7:08
Traversy Media
Рет қаралды 60 М.
Робот зарядка на 65W🤖
0:36
serg1us
Рет қаралды 1,6 МЛН
The PA042 SAMSUNG S24 Ultra phone cage turns your phone into a pro camera!
0:24
Phone charger explosion
0:43
_vector_
Рет қаралды 595 М.
Iphone yoki samsung
0:13
rishton_vines😇
Рет қаралды 8 МЛН
Broken Flex Repair #technology #mobilerepair
0:55
ideal institute aligarh
Рет қаралды 14 МЛН