Javascript Closure tutorial ( Closures Explained )

18 Nov 2015 12:52 1,119
331,385
7,830 317

What are closures in javaScript and how and where to use them.

So what is closure in javascript?
"whenever you declare a function inside another function, the inside function(s) is/are recreated again each time the outside function is called"

"Closures are functions that refer to independent (free) variables. In other words, the function defined in the closure 'remembers' the environment in which it was created."
#JavaScript #closures #lexicalScope
Help the channel via patron and buying merchandise
* https://www.patreon.com/techsith
* https://teespring.com/stores/techsith-store

Udemy Course
* https://www.udemy.com/js-masterclass/

Follow me for technology updates
* https://facebook.com/techsith
* https://www.facebook.com/groups/techsith
* https://twitter.com/techsith1
* https://www.linkedin.com/groups/13677140/
* https://medium.com/@patelhemil

Help me translate this video.
*http://www.youtube.com/timedtext_video?v=71AtaJpJHw0&ref=share
Note: use https://translate.google.com/ to translate this video to your language. Let me know once you do that so i can give you credit. Thank you in advance.

Related of "Javascript Closure tutorial ( Closures Explained )" Videos