JavaScript Closure | Teach Me If You Can

preview_player
Показать описание
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
Рекомендации по теме
Комментарии
Автор

Amazing tutorial explaining closures in great depth. Bravo !

jipeejoce
Автор

Good way of teaching in deep details with visual graphics, you really put lots of efforts in making this video. Your efforts are highly appreciated, thank you.

AliBaba-hntv
Автор

found a gem channel today. thanks for this amazing video on closures. can we except a playlist on asynchronous js on this channel anytime soon ?

ritwik
Автор

👍👍great tutorial
malayalam channel undo bro

TOPTECHY