Closure in Javascript

preview_player
Показать описание
I will show you how to use closure in Javascript in this video.
The closure is a powerful concept in programming that allows you to create functions that have access to variables from the scope outside of the function.

More Playlists

Social Links

Video Titles
What are closures in Javascript?
Javascript Lexical Scoping
Javascript closures

Hashtags
#javascript #closure #webdev #webdeveloper #javascriptinhindi #javascriptinterviewquestions #webdevelopment
Рекомендации по теме
Комментарии
Автор

One of the primary purposes of closures is to create private variables and functions. In languages like JavaScript, where objects and functions are often public, closures allow for data to be encapsulated in a function scope, providing a way to restrict access to certain variables.

motivatedmomin
Автор

watched 10 videos of closures but here i understood it properly. Also the same adder functio question was asked in an interview round. Thank you

GovindKumar-xjyw
Автор

Your practical approach to promises is excellent; it's simple, precise, and impressive.

suryaravikumar
Автор

just found your channel bro, you explain topics in details and good thing is its not only for beginners but intermidiate can also learn something

ipreet
Автор

bro you are genius, teaching method very well ....

shaizi
Автор

so beautiful, so elegant, just looking like wow... very helpful

mayappapujari
Автор

in text sizer example we can create a function and onclick of button change the size of text, closure ki jarurat hinahi hai na.

harshvardhansankpal
Автор

bro ye jo brackets ki line show ho ri ha isky liye kn c extension use kr rhy hain

AiGoogleBard
Автор

If we can use Closure and make function inside function then time & space complexity increasing or not ??

KishanJainam
Автор

Can't we just create one outer function to reach the same result? Why use another inner function?

devilslord
Автор

your videos are too good you just have to do it that change your thumbnail quality of this not good

nehasalma
Автор

Sb kuch Bahut badhiya hai, but aap joo video me itna jayda "tum" word kaa use karte hai isiliye sahi nahi lagta.

hrxgaurav