BEST DESCRIPTION EVER, i read many articles u made it simple in 5 mins ..perfect man
@abdulbari25694 жыл бұрын
Please start again you explain concepts in a great way and you are a great teacher.
@gradar78912 жыл бұрын
Damn I've just asked about this in an interview and sucked! here what they asked: var a = 10; function f(){ if(a){ console.log(a); var a = 5; } } f(); what will that write on console, I said 10. After that fe developer said it is undefined, I was shocked and now I'll learn this, thank you for that video!
@devchannel52322 жыл бұрын
Mhh, but that is really difficult in my opinion. 'var a = 5' will not be hoisted so normally i would expect as you did that 'if(a)' is 10 and 'console.log(a)' will be 10? But i guess var a = 5 is 'overriding' the global 'var a = 10' but because it is not hoisted it is undefined... Wow very complicated.
@rod88553 жыл бұрын
5 min explanation. I had to slow down the video by half. I had to rewatch it. So it took 20mins total lel. But that was awesome!
@devchannel52322 жыл бұрын
Same. Awesome content in 5mins xD
@prahaladp5 жыл бұрын
According to me, you are going very good then why did you stop. Come on and restart with your great videos with great content.
@andrewtcoder2 жыл бұрын
Thank you for this video! Hope that you will continue to create new videos for this channel soon
@zahidshaikh31222 жыл бұрын
Now I understood this concept clearly, Thanks Bro!.
@narmadhadevi81672 жыл бұрын
That was a very clear explanation I got, that too in just 5mins😯🔥.. Please start uploading videos with your awesome way of explaining stuff🙏
@danlevy94783 жыл бұрын
Best explanation on KZbin, thanks!
@mahmudx2 жыл бұрын
I love how you pronounce **Hoisted**.
@terrabyte11543 жыл бұрын
Your videos have been super helpful, I hope one day you decide to come back to us! Your videos are hidden gems!!!!
@nehaprakash30733 жыл бұрын
Great Explanation! It would be really helpful if you come up with more such videos as your videos shine among others.. Thanks and Regards!
@westsydezamani2 жыл бұрын
Qsq qqd
@DaveGalligher2 жыл бұрын
Nice job, thanks.
@fernon3 жыл бұрын
please make more videos! You're rocking it dude! Clear explanations
@EmotionWave_242 жыл бұрын
He is no more
@josephemmanuel40892 жыл бұрын
Clear and precise. Thanks
@gmontano792 жыл бұрын
Could you make video on layout
@EJ-jh1vf2 жыл бұрын
someone make a compilation of just the breathing sounds
@bhavesh29523 жыл бұрын
Short and Useful video :) Please restart with your videos
@jenso4132 жыл бұрын
great explanation! thanks!
@pixelloopy2 жыл бұрын
Brilliant explanation!
@tuamigoRo2 жыл бұрын
Excellent, man
@rishavmasih94503 жыл бұрын
You're a legend bro.
@jorgegonzalez47202 жыл бұрын
You say there's a compile phase, but I thought JS was an interpreted language, meaning the interpreter looks line-by-line, no?
@5MinuteSmarter3 жыл бұрын
Thank you hope u start making content about web dev again.
@oladapoajala71003 жыл бұрын
At 2:22 your explanation is wrong! The issaVar variable gets hoisted to the scope of the justAfunc() function and assigned 'undefined'. Hence the console.log(issaVar) logs 'undefined'.
@JoeNelo2 жыл бұрын
Isn't JS an interpreted language, and not compiled unless you use a compiler like babel/Jit Compilers? Although we do know with Chrome, the v8 JS VM uses 2 compilers, not all browser engines do this.
@user-wc1sm8cj8s2 жыл бұрын
The first time I encountered this makes me scratch my head. Coming from Python3 background, if you haven't defined something yet, you can't access it. In JS, you can, it's so weird. Thanks for this video, but still, I won't use this feature (just like you said).
@WebbrainAcademy3 жыл бұрын
Awesome!
@MohitGupta-ln2js3 жыл бұрын
Great video man
@samuelg.24602 жыл бұрын
Dude you need to try cardio. Otherwise love "the 5 min" stuff, short and clear. Thanks!
@pavlins3593 жыл бұрын
Very quick talk, hard to understand by non native speakers.
@chilly21713 жыл бұрын
It seems like you don't understand hoisting yourself with the examples. var myvar = "my value"; const myFunction = () =>{ console.log(myvar) var myvar = 'local value' } myFunction() Why does this log undefined when myvar is declared again?
@cheetahcoder54282 жыл бұрын
This is because console.log has the scope of myFunction and in this function, myvar is initialized after console.
@oussamakhalfi17514 жыл бұрын
thank you
@annasaysthings2 жыл бұрын
i wish this guy would contnue :/
@MrMaulikthaker3 жыл бұрын
You are so fast man just calm down while explaining
@HSBTechYT4 жыл бұрын
Watched in 3 minutes xD
@bob_bobsen2 жыл бұрын
are you Web Dev Simplified but before the glow up
@gbk_creations2 жыл бұрын
Go slowly it is better
@mintifu16582 жыл бұрын
sadge, I realized dude stop creating new content 4 years ago
@jackk57463 жыл бұрын
you are screwing up the audience with your fastness hard to understand what you are saying. If you do this again I will not watch any of your videos from your channel.