filmov
tv
JavaScript Closure | Teach Me If You Can
![preview_player](https://i.ytimg.com/vi/zHQqRkQYnTw/maxresdefault.jpg)
Показать описание
Everything You Need to Know about JavaScript Closure.
Closure is one of the fundamental concepts in JavaScript. Everyone finds it a little uneasy to understand. In this video, I've explained the concept along with its pre-requisite topics.
Every JavaScript creates closure as soon as they are created. It's a bundle of the function body and its lexical environments(variables that the function is depending upon). It's a way of JavaScript function to remember the variables it needs for the later execution.
Along with JavaScript closure, we covered topics like scope chain and lexical scoping. Once you understand the applications or benefits of using Closure. You will understand its importance.
Discussion @ times
--------------------------------
00:00 - Introduction
01:23 - Availability of a Function.
02:53 - Scope Chain.
08:16 - Lexical Scoping.
13:18 - JavaScript Closure
18:48 - Does all Function has Closure?
25:00 - Closure Contains Variable Reference Not their Value.
28:33 - Every Time a Closure is Created with a Function Creation.
32:15 - Why we Need JavaScript Closure So Badly?
💖 Buy me a Coffee
🌀 Related Videos ___
🔗 Find me in
#JavaScript #JavaScriptBeginnersTutorial #CodAffection
Closure is one of the fundamental concepts in JavaScript. Everyone finds it a little uneasy to understand. In this video, I've explained the concept along with its pre-requisite topics.
Every JavaScript creates closure as soon as they are created. It's a bundle of the function body and its lexical environments(variables that the function is depending upon). It's a way of JavaScript function to remember the variables it needs for the later execution.
Along with JavaScript closure, we covered topics like scope chain and lexical scoping. Once you understand the applications or benefits of using Closure. You will understand its importance.
Discussion @ times
--------------------------------
00:00 - Introduction
01:23 - Availability of a Function.
02:53 - Scope Chain.
08:16 - Lexical Scoping.
13:18 - JavaScript Closure
18:48 - Does all Function has Closure?
25:00 - Closure Contains Variable Reference Not their Value.
28:33 - Every Time a Closure is Created with a Function Creation.
32:15 - Why we Need JavaScript Closure So Badly?
💖 Buy me a Coffee
🌀 Related Videos ___
🔗 Find me in
#JavaScript #JavaScriptBeginnersTutorial #CodAffection
Комментарии