Closures in JS 🔥 | Namaste JavaScript Episode 10

preview_player
Показать описание
Closures in JavaScript is the most important topic for interviews. Even many senior frontend developers don't understand this concept properly. This video will clear all your doubts about closures in js and you will never have to find any other tutorial after this to understand function Closure and Garbage collection. 🔥

The only request is to watch this Episode of Namaste JavaScript with full attention. 🙏

Timestamps to Skip the video:
00:00 - Don't skip anything 🙏

Support this video series, NOT BY MONEY, but by sharing it with your friends. 🙏
I'll give my best to come up with great content and everything absolutely for free on YouTube. 😊

If you are active on Social Media,
please give a shoutout to Namaste JavaScript and help me reach more people. 🙏

Cheers,
Akshay Saini

Would love to Stay Connected with you ❤️

#NamasteJS #AkshaySaini
Рекомендации по теме
Комментарии
Автор

Closure :Function bundled with its lexical environment is known as a closure. Whenever function is returned, even if its vanished in execution context but still it remembers the reference it was pointing to. Its not just that function alone it returns but the entire closure and that's where it becomes interesting !! Thank you so much, Akshay for this :) :)

sougandikal
Автор

My interviewer got impressed when I explained the way you explained. Dude you are a 💎.

bhanuprasad
Автор

Rest of the world : JS is hard and crazy
Akshay : hold my green tea.

biltten
Автор

Four things I like about Akshay.
1) Doesn't try and speak in an American accent, like most Indian Youtube programmers.
2) Passionate
3) Someone with real knowledge.
4) A talented teacher.

ogs
Автор

Bhaiya is high on JS 😂. More power to you.

shikharjoshi
Автор

I've completed my master's in mechanical enginnering, and after that, I planned to switch my career in the IT industry.
Yesterday, I cracked the first round of interviews for the position of front-end developer.
All the questions on JS were from your videos, and I can bet that the interviewer has also watched your Namaste Javascript series.

farazhusain
Автор

Kaisa laga video? Are you feeling excited? Let me know in the comments below. ❤️

akshaymarch
Автор

A closure gives access to all the variables of it's parent function even after the that parent function has returned or executed. The function keeps a refernce to it's outer scope which preserves the scope chain throughout the time

ls
Автор

One step closer to Closure.
Thank you Akshay, I cleared my JS interview because of your videos only.

nikhil
Автор

Things learned:
1. Function bundled with lexical scope is called closure.
2. Even if we return the function, it still remembers its original lexical environment and local storage so it can access values.
3. If we write return function --- this automatically returns the value.
4. The function that is returned is reference so any change in value of that variable inside function will be reflected as such.

jagrutsharma
Автор

Hi akshay, after complete the Namaste js playlist, please make a playlist for Namaste react. Tons of video out there for react, but your teaching will be easy to grab the core concepts. It's our kind request 🙏...

shivashankar
Автор

As a Mechanical Engineer, I'm really enjoying this course. The way you are explaining is simply superb.

veerendrajana
Автор

this dude makes me fall in love with JS. And, yes. i'll never have to find another video on closures. thanks a million!

ufuomapokoh
Автор

Man how can a student not be excited if the teacher himself is so so much excited. Great video bro

narendrakumariitb
Автор

i feel like that the creation phase/execution conext is like one of the most crucial concept in js... nearly everything is explainable by creationphase/hoisting and the scopes

jeannoelhonisch
Автор

Bro!! two days back JS is a horror movie for me, now I started liking JS more, lexical scope video is awesome...thanks for your efforts, I like the way how you explain. Credit goes to you.

MrMohfeez
Автор

One of the finest JavaScript tutorials available, it showcases the art of a talented teacher who effortlessly breaks down complex concepts into easily understandable content.

AmmarTheTrainer
Автор

Bhaiya, Please don't ever delete this playlist!!!..This is super helpful and helps me revise it before the interview!!!!

ruditrahul
Автор

i am backend developer and just started to explore frontend tools. No one can explain javascript better then you Sir. all the best, stay healthy and help us all junior developers to learn complicated things. Thanks .

ssbrar
Автор

Another seriously underrated JS channel. Clear and simple explanation. Thank you Namaste :)

toskr-rt