JavaScript Closures Explained Simply
Вставка
- Опубліковано 22 кві 2022
- 📚Materials/References:
MDN Web Docs: developer.mozilla.org/en-US/d...
🌎 Find Me Here:
Twitter: / realdevsage
Discord: / discord
Ebooks: payhip.com/devsage
Merch: cottonbureau.com/people/devsage
I came here after watching your recursion tutorial, which is the best recursion explanation on UA-cam. Glad I found this one as well. Thank you!!
one of the best explanation of closures I've seen. Thanks @DevSage
Great explanation, very clear and understandable.
Glad you think so!
This guy should be on Udemy.
Simple explanation with a understandable example - 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
Clear and crispy
Excellent presentation and explanation.
DevSage , thanks for sharing this type of content your explain this very easy , Thanks a lot !!!!!
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
This guy is FREAKING Good!!!
@DevSage you explain things really well, sir.
Appreciate it. That means I'm accomplishing my mission 🎯💯
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. ua-cam.com/video/DwU6Q4bCAB0/v-deo.html
It builds on top of the idea of closures
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 😎
Great video THANKS
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.
Thanks Man !
Thank u ❤
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 Content And Most Of it Working With C# Also SO Thanks A lot
You are welcome
So is add10=x and y=the console.log 5?
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
const add10=adder(10); is a closure i understand this. is it okay.?
Nice explanation
Thanks!
Good
Thanks