Javascript Closures Tutorial - What makes Javascript Weird...and Awesome Pt 3

Javascript Closures Tutorial - What makes Javascript Weird...and Awesome Pt 304:44

معلومات تحميل وتفاصيل الفيديو Javascript Closures Tutorial - What makes Javascript Weird...and Awesome Pt 3

المؤلف:

LearnCode.academy

تاريخ النشر:

18‏/7‏/2014

المشاهدات:

116.7K

الوصف:

What is a closure? In this JavaScript tutorial, we’ll learn about closures, one of the most misunderstood concepts in JavaScript. We’ll break it down so it’s simple for both beginners and intermediate coders. Closures aren’t that complex: a closure is a function that retains state and scope after it executes, allowing a callback to access variables later. In other words, JavaScript remembers those variables, and that remembering is what we call a closure.