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!!
@UniversalKnowledge012 жыл бұрын
Great explanation, very clear and understandable.
@DevSage2 жыл бұрын
Glad you think so!
@Computeshorts2 жыл бұрын
one of the best explanation of closures I've seen. Thanks @DevSage
@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?
@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
@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.
@JibreelOfficial-zg9qt2 жыл бұрын
Hey bro ! I really wanna know the name of the font you are using here in vscode or the theme
@DevSage2 жыл бұрын
Theme: SynthWave '84 Font: Consolas
@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
@moiseseastland8643 Жыл бұрын
So is add10=x and y=the console.log 5?
@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
@wasitthat Жыл бұрын
Excellent presentation and explanation.
@zb27472 жыл бұрын
Simple explanation with a understandable example - thank you!
@be2wa2 жыл бұрын
@DevSage you explain things really well, sir.
@DevSage2 жыл бұрын
Appreciate it. That means I'm accomplishing my mission 🎯💯
@2ncielkrommalzeme2102 жыл бұрын
const add10=adder(10); is a closure i understand this. is it okay.?
@TheZayzoo7 ай бұрын
Is this where stale state comes into play ?
@Noahmetix Жыл бұрын
DevSage , thanks for sharing this type of content your explain this very easy , Thanks a lot !!!!!
@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
@soumadip_banerjee Жыл бұрын
Thank u ❤
@ahmedseada73712 жыл бұрын
Great Content And Most Of it Working With C# Also SO Thanks A lot