Javascript Closure tutorial ( Closures Explained )

Опубликовано: 18 Ноябрь 2015
на канале: techsith
545,691
13k

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
*My Udemy Courses
https://www.udemy.com/js-masterclass/
*couponCode*=TECHSITH-9.99

https://www.udemy.com/course/react-ho...

Follow me for technology updates
  / techsith  
  / techsith  
  / techsith1  
  / 13677140  
  / patelhemil  

Help me translate this video.
https://www.youtube.com/timedtext_cs_...
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.


На этой странице сайта вы можете посмотреть видео онлайн Javascript Closure tutorial ( Closures Explained ) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь techsith 18 Ноябрь 2015, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 545,691 раз и оно понравилось 13 тысяч зрителям. Приятного просмотра!