Hi, In this code i can use var d=10; the outer function inside the inner function i am getting the result output is 25 var d= 10; const outerFunction = (a) => { let b= 10; const innerFunction = () =>{ let sum = (a+b+d); console.log(`the sum of number ${sum}`); } return innerFunction(); } let inner = outerFunction(5); inner()
Nice explanation 👍🏻 Q1.) Kya aap syllabus and important de sakte ho? Q2.) Kya w3schools.com me jitna topics bataya gya h kya pura syllabus h ya kuch baki h?
Guys ye bahoot important topic hai.. I hope Closure samaj gaya hoga.. ☺️
Superb 👍
Your All Videos Are Awesome Sir 👌👌👍👍
I watched three times to get a decent knowledge of the return statement. Thanks Mr.Thapa :)
Wow.. kabse closure ka wait kr rha tha .. aj finally aagaya
U r doing great,,,, making everything easy,,, but it will highly appreciating if u add real world project exampl.. thanksss..
very very simply you are explaining
Thankyou sir ji❤
God bless you sirji ❤👑🙏🏼
Your way of teaching is asm...
awesome explanation thanku so much sir
Your way of teaching is awesome Brother🥰
Finally understood closure.really happy to visit videos
Awesome video sir, plz make a video on typescript
Thank u so much bro.. u r awesome 👌
Best Tutorial I got on Closure! Thanks
Thanks
Very Very Helpful video. Thanks to upload
Great Sir! Khub chaan 💥
Best video on closure!
You are God/great sir for Computer Programming field
God nai hi bro. But khusi hui.. plz apne dosto ko bhi share krdena ha ☺️
Your all lectures are very simple define...
Your teaching style Great great from my heart
finally understand the closures
nice explaination understood very well Do make video on (Flowcharts using Flowgorithm Tool)
Great explanation
closure used to show in browsers using console.dir() but no more it seems, as closure inside scopes don't appear here in my chrome/firefox browsers
Now my mind looks useful 😎😎
Please make a video on weakmap /setmap function.
Can you tell me in practical where we are applying or using closures..!
Please make videoes in angular
Only one question console.dir ki jagah agar hum console.log kr rhe hai toh why yeh same waisa hi print kr rha hai ...?
Super explanation
execution context pe video bana na bhai , plz!
could we define more than one inner function in same way?
Yes
Amazing bro
Please explain about Javascript Event loop...........
how to convert simple JavaScript file to node.js file?
I want to know the conversion process? need help
Remove the script tag and change the extension of a file .html to .js. It can work
i got to know what is closure..but why do we need closure? please explain
👏👏👏👏👏👏👏👏👏👏👏👏 cleared
Kya aap photoshop ke liye script bana sakte he
Hi, In this code i can use var d=10; the outer function inside the inner function i am getting the result output is 25
var d= 10;
const outerFunction = (a) => {
let b= 10;
const innerFunction = () =>{
let sum = (a+b+d);
console.log(`the sum of number ${sum}`);
}
return innerFunction();
}
let inner = outerFunction(5);
inner()
Best
Bhai tum ye function kis tarh se define kr rhe ho thoda explain kro
it is the latest ES6 convention for defining functions
Nice explanation 👍🏻
Q1.) Kya aap syllabus and important de sakte ho?
Q2.) Kya w3schools.com me jitna topics bataya gya h kya pura syllabus h ya kuch baki h?
bhut kuch baki h bhai w3schools sirf basics cover krta h
@@sparshgupta8078 thanks 🙏🏻
Intermediate and advanced course koun se website me milega.
@@DEEPANSHU_NAG bro w3schools pe javascript reference par sare topic mil jate hai
bhai 2020 full course bana do
Here we are calling inner() not innerfun() .So how u are saying that we are calling the inner function 🙄🙄
smjh nhi aa raha h
It could have been better
Bhai $ kaam nahi kar raha
Chrome used to show closure but Firefox didn't, but now it seems chrome too has dropped support showing closure inside scopes