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
😅 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. ruclips.net/video/DwU6Q4bCAB0/видео.html It builds on top of the idea of closures
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
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.
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?
Great explanation, very clear and understandable.
Glad you think so!
one of the best explanation of closures I've seen. Thanks @DevSage
I came here after watching your recursion tutorial, which is the best recursion explanation on RUclips. Glad I found this one as well. Thank you!!
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
I'm a teacher of UI engineers and this video is awesome...
😅 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. ruclips.net/video/DwU6Q4bCAB0/видео.html
It builds on top of the idea of closures
This guy should be on Udemy.
@DevSage you explain things really well, sir.
Appreciate it. That means I'm accomplishing my mission 🎯💯
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
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.
DevSage , thanks for sharing this type of content your explain this very easy , Thanks a lot !!!!!
Simple explanation with a understandable example - thank you!
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?
I’ve been working with JavaScript for years and never have had as good an understanding of closures as I do now
Glad I could help 😎
Clear and crispy
This guy is FREAKING Good!!!
Great Content And Most Of it Working With C# Also SO Thanks A lot
You are welcome
Thank u ❤
Excellent presentation and explanation.
Great video THANKS
Hey bro ! I really wanna know the name of the font you are using here in vscode or the theme
Theme: SynthWave '84
Font: Consolas
Thanks Man !
So is add10=x and y=the console.log 5?
const add10=adder(10); is a closure i understand this. is it okay.?
Nice explanation
Thanks!
Is this where stale state comes into play ?
Good
Thanks