I came here after watching your recursion tutorial, which is the best recursion explanation on KZbin. Glad I found this one as well. Thank you!!
@Computeshorts2 жыл бұрын
one of the best explanation of closures I've seen. Thanks @DevSage
@tycanton53402 жыл бұрын
I'm a teacher of UI engineers and this video is awesome...
@DevSage2 жыл бұрын
😅 Appreciate that. If you don't already know about it, you and your guys may find some value in knowing how debouncing works as well. kzbin.info/www/bejne/eqi4Z4Rql6h0eJI It builds on top of the idea of closures
@golden_oriel Жыл бұрын
This helped me comprehend closures. Using what you showed me. I was able to write my own closures and build upon it making it more complex over each iteration of adder(). This was so good I'm now helping my fellow students with closures. ty bro
@Tony.Nguyen137 Жыл бұрын
Is every function that has access to the „parent scope“ a closure? I have a simple global variable >let a< , and a simple single function add( ){console.log(a)}. The function add has access to the variable >a< which is outside its scope. Does it make this function add() a closure?
@damo1902 жыл бұрын
Sir, the value of 'this' is lexical(static) scoped or dynamic scoped? I have a confusion. I think it's dynamic scoped because it gets its value through execution context. But I have already learned, JavaScript only uses lexical scope.
@pauladeniyi58766 ай бұрын
This guy should be on Udemy.
@be2wa2 жыл бұрын
@DevSage you explain things really well, sir.
@DevSage2 жыл бұрын
Appreciate it. That means I'm accomplishing my mission 🎯💯
@GBlunted Жыл бұрын
Finally! I've watched a few of these now trying to understand and I feel this is the best explanation thus far! 👍🏽 Would love to see some actual useful cases maybe
@zb27472 жыл бұрын
Simple explanation with a understandable example - thank you!
@wasitthat Жыл бұрын
Excellent presentation and explanation.
@dylanhall53052 жыл бұрын
I’ve been working with JavaScript for years and never have had as good an understanding of closures as I do now
@DevSage2 жыл бұрын
Glad I could help 😎
@chandrasekharreddyguda29392 жыл бұрын
Clear and crispy
@andrewcenteno3462 Жыл бұрын
This guy is FREAKING Good!!!
@JibreelOfficial-zg9qt Жыл бұрын
Hey bro ! I really wanna know the name of the font you are using here in vscode or the theme
@DevSage Жыл бұрын
Theme: SynthWave '84 Font: Consolas
@moiseseastland864310 ай бұрын
So is add10=x and y=the console.log 5?
@Noahmetix Жыл бұрын
DevSage , thanks for sharing this type of content your explain this very easy , Thanks a lot !!!!!
@soumadip_banerjee Жыл бұрын
Thank u ❤
@TheZayzoo5 ай бұрын
Is this where stale state comes into play ?
@ahmedseada73712 жыл бұрын
Great Content And Most Of it Working With C# Also SO Thanks A lot
@DevSage2 жыл бұрын
You are welcome
@2ncielkrommalzeme2102 жыл бұрын
const add10=adder(10); is a closure i understand this. is it okay.?