JavaScript Closures Tutorial (Explained in depth)

Опубликовано: 31 Октябрь 2021
на канале: ColorCode
71,232
3.4k

JavaScript Closures Tutorial, FINALLY explained!

Full playlist here:    • 20 Things JavaScript Developers Shoul...  

Closures are incredibly difficult to explain and understand, and sadly they come up in interviews all the time. Why do we need Closures? And how can you use them to your advantage?

JavaScript Closures from the series "10 Things JS Developers Should Know"
by ColorCode.io, Sina Jazayeri

This is episode 9 in a 10 part series I’m calling 10 things javascript developers should know but probably don’t. In this series, we’re going to cover some of the most fundamental and important parts of JavaScript that most of us don’t actually know, and barely touch. Today, for episode 9, we’re talking about JavaScript Closures, what do they actually mean, why they exist, and how to use them. Episode 9: Closures. Let’s go!

All the code from this series is available here:
https://github.com/ColorCode/js-10-th...


0:00:00 Intro
0:01:23 What is a Closure?
0:02:14 Theoretical Example: Outer function + Inner function
0:11:14 What makes Closures special
0:11:28 Practical Example: Click handlers
0:17:28 Outro


На этой странице сайта вы можете посмотреть видео онлайн JavaScript Closures Tutorial (Explained in depth) длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь ColorCode 31 Октябрь 2021, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 71,232 раз и оно понравилось 3.4 тысяч зрителям. Приятного просмотра!