JavaScript Closure in Depth for Beginners in Hindi AppliedK
Автор: AppliedK
Загружено: 2024-12-06
Просмотров: 42
Описание:
It is difficult to understand closure just going by its definition. Look at some definitions given at MDN and W3C:
A closure is the combination of a function bundled together (enclosed) with references to its surrounding state (the lexical environment). In other words, a closure gives a function access to its outer scope. In JavaScript, closures are created every time a function is created, at function creation time.
JavaScript variables can belong to the local or global scope.
Global variables can be made local (private) with closures.
I have strived to make the learning of closure easier by using practical example. I have followed Learning-by-doing approach to explain the concept of closure. Please watch the video till end to grasp the concept of closure.
appliedk #javascript #class11 #class12 #webprogramming #cbse #ncert
#callback #closure #closurescope #publicscope #privatescope #mdn
Повторяем попытку...

Доступные форматы для скачивания:
Скачать видео
-
Информация по загрузке: