Scope chaining in javascript

  Рет қаралды 53,394

Hitesh Choudhary

Hitesh Choudhary

Күн бұрын

Пікірлер: 75
@HiteshCodeLab
@HiteshCodeLab 4 жыл бұрын
Full course is FREE and will be available here courses.learncodeonline.in/learn/Complete-Javascript-course
@kanishk_fr
@kanishk_fr 3 жыл бұрын
I got my ice-cream from Hitesh sir!!!
@milankbudha
@milankbudha 4 жыл бұрын
I had searched entire videos on this topic and nobody was able to explain so easily with ice cream example...Thank you so much for this video...You had saved my time.....Respect from Nepal
@vishal8274
@vishal8274 4 жыл бұрын
Jst enhanced my vocabulary Popsicles Thanks sir🙂
@sijjshawn
@sijjshawn 3 жыл бұрын
The example depicted here is super cool - Parents, Great Parents :) Wish we could give similar examples to all the concepts. You the Man. Hats off mate .. !!!
@mukul_vashistha
@mukul_vashistha 4 жыл бұрын
One of the most underrated explantations ;) Great job Hitesh/Mr. H/Mr. HC :D
@maqhobelakao2045
@maqhobelakao2045 4 жыл бұрын
Wow that who we call real instructors Hitesh is on fire!!!!!
@blackrat2207
@blackrat2207 4 жыл бұрын
You provide a quality content no one can beat you the way you teach thankyou very much sir .
@Abdirizakmrashid
@Abdirizakmrashid 3 жыл бұрын
One of the best teacher i ever seen thanks eng.
@shelendrasharma9680
@shelendrasharma9680 4 жыл бұрын
was waiting for another information loaded video. thanks hitesh
@jaydattr9765
@jaydattr9765 2 жыл бұрын
what a perfect way to explain this topic by giving popsicle example, i get this whole topic just by watching it once
@user-kg5jh2ct4r
@user-kg5jh2ct4r 4 жыл бұрын
This is just basically local and global variables. It’s the fundamentals of programming
@aarushgoyal
@aarushgoyal 4 жыл бұрын
Yup they are the same
@KaranDhingra
@KaranDhingra 4 жыл бұрын
Yups
@saharshnigam6526
@saharshnigam6526 4 жыл бұрын
Moral of the story: Hitesh has many icecreams😆
@ankushthakur2177
@ankushthakur2177 4 жыл бұрын
Awesome explanation, It was really a fun with ice-cream Awesome teacher
@yoshinohmm4975
@yoshinohmm4975 3 жыл бұрын
best explanation ever, I'm following your course and you're very good at teaching, thank you man!
@ronakkarmakar6356
@ronakkarmakar6356 2 жыл бұрын
This video is really satisfying 😍,, your teaching skills are amazing
@Sunny-oc7bo
@Sunny-oc7bo 4 жыл бұрын
i think kings territory problem have became popsicles problem. HaHaHa... Just enjoying this amazing series. Thank you so much Hitesh sir for explaining the concepts in a fun way.
@amjadawan4150
@amjadawan4150 3 жыл бұрын
great trainer i have even seen, bundle of love from Pakistan... sir make a list of projects for JavaScript
@riteshpuley2891
@riteshpuley2891 4 жыл бұрын
Simply amazing my code is running🙂
@sudiptob631
@sudiptob631 4 жыл бұрын
Thank you so much Hitesh sir. This video was in due list of my Todo. So watching this today. By the way king's territory have became kid ice cream. Love the way you explained 😊😊😊♥️♥️♥️
@Sushil2874
@Sushil2874 4 жыл бұрын
Nice explanation, true will never forget..!! Great going..!!
@technosoid2821
@technosoid2821 4 жыл бұрын
MY SCREEN IS RED, SYSTEM ERRORS ARE BLUE, UNDEFINED VARIABLE, ON LINE 32.
@cybercrack7958
@cybercrack7958 4 жыл бұрын
You made my day ...
@anilkumar-vn3co
@anilkumar-vn3co 4 жыл бұрын
Now instead of trying to improve the lyrics, fix that error.
@technosoid2821
@technosoid2821 4 жыл бұрын
@@cybercrack7958 🙂
@imamansoni
@imamansoni 4 жыл бұрын
And then you noticed that your code is only 20 lines long 🤣, This happend to me so many times
@neets7519
@neets7519 3 жыл бұрын
Such a fun example, clearly taught, thankyou!
@vinayshah573
@vinayshah573 4 жыл бұрын
Sir love the explain 💯💯 please sir one node. Js and express. Js tutorial for beginners please sir
@ajayrabari433
@ajayrabari433 4 жыл бұрын
Surely a dope concept sir. Thanks.
@shahj786
@shahj786 4 жыл бұрын
Nice Example. Different from legacy grandparent, parent, child hierarchy example.
@IqbalAhmed-qk5ix
@IqbalAhmed-qk5ix 4 жыл бұрын
Awesome sir, Ur Teaching style very good Thank u so much sir
@kirankamath1754
@kirankamath1754 4 жыл бұрын
Sir The popsicle example was good, I will remember it for a long time
@zamirshams3430
@zamirshams3430 2 жыл бұрын
outstanding explanation
@maritessquirona5175
@maritessquirona5175 4 жыл бұрын
"Hitesh" your my mentor
@himanshushukla787
@himanshushukla787 3 жыл бұрын
You explain very well..
@leilagueno8511
@leilagueno8511 4 жыл бұрын
you are an excellent explainer
@thisisbadpanda
@thisisbadpanda 4 жыл бұрын
Whyyyy u didnt use interpolation? @ 2:50 😂😂😂
@programoftech9200
@programoftech9200 4 жыл бұрын
Present Sir First View First Comment
@debashishrambhola
@debashishrambhola 4 жыл бұрын
Please make a video on closure,compilation phase,execution phase etc.
@vishavjeetsingh7026
@vishavjeetsingh7026 4 жыл бұрын
loving the videos but can please video more fast i need it
@ujjawalchatterjee
@ujjawalchatterjee 4 жыл бұрын
What if you used let or const...I wanted to see that too
@pushkar2951
@pushkar2951 4 жыл бұрын
Sir, sorry to say, but the doubt resolving system is dead... No one has resolved mine since 2 weeks.
@vijaynavale3919
@vijaynavale3919 4 жыл бұрын
Keep going 👍
@YouAndImpact
@YouAndImpact 4 жыл бұрын
Great video 👍
@vraj3115
@vraj3115 4 жыл бұрын
#10minutesJS day 18!
@karthikeyasandineni-z8f
@karthikeyasandineni-z8f Ай бұрын
Bhai can you also make a video on function chaining?
@aayush5474
@aayush5474 4 жыл бұрын
I got the mern stack bootcamp @200 a steal deal😉
@SameerKongath
@SameerKongath 4 жыл бұрын
Nice class
@abhinavkuruvilajoseph9274
@abhinavkuruvilajoseph9274 4 жыл бұрын
how many times do you want me to press the subscribe btn. now it is red!
@stharvid
@stharvid 4 жыл бұрын
Best!
@aashiqahmed5273
@aashiqahmed5273 4 жыл бұрын
is scope chaining ,closures?
@dennyage4791
@dennyage4791 4 жыл бұрын
I have a doubt ..... If I call function sayNameTwo() inside sayName() but define it outside the sayName () then var name of inside sayNameTwo() prints Hitesh (taking global name ),but it should be My H
@arjunk5959
@arjunk5959 4 жыл бұрын
can you paste the program for more clear understanding ? as per my understanding, as you have defined it outside, it automatically takes name from outside the sayName() and does not matter from where you call it as Global scope comes in picture for execution. Hope you can understand.
@ankushladani496
@ankushladani496 2 жыл бұрын
Thank you sir....
@sanyamsinghal5267
@sanyamsinghal5267 3 жыл бұрын
It would have been better if you would have included "let" and "const" explanation along with an explanation for var. Instead of saying "if-else" and "for loop" isn't considered a scope, you could have said that Var is function scoped and not block-scoped and that would have made things clearer.
@yuvrajchandra9275
@yuvrajchandra9275 3 жыл бұрын
Which vs code theme does he use?
@Brbe0990
@Brbe0990 3 жыл бұрын
so in the function sayName(), inside this function, you declared another function sayNameTwo()....isn't this the reason why it is taking the name from sayName(). what would happen if you declared the function sayNameTwo() out side sayName()....will it then take the name from global context which would be Hitesh?
@rajesh.geesala7565
@rajesh.geesala7565 Жыл бұрын
Thanks
@khushwantkodecha1342
@khushwantkodecha1342 4 жыл бұрын
Hitesh Hitesh Hitesh...😀
@bhavesh2952
@bhavesh2952 3 жыл бұрын
Thank you again :)
@MightyDroid24
@MightyDroid24 4 жыл бұрын
Sir can you explain about gpt 3 please
@pratikpatra67
@pratikpatra67 3 жыл бұрын
How to correctly indent the code, it's not happening automatically
@keshavgupta6549
@keshavgupta6549 4 жыл бұрын
Thank you bhaiya
@raktimde9606
@raktimde9606 3 жыл бұрын
When I am using 'name' keyword as a variable name, as shown in the video, I am getting a warning message in VS Code that 'name' is deprecated. Though the code is working, the warning is making me feel not that good. Can anyone help me with the same? Thanks in advance. Edit: This is happening only when I am using it in a global context. I mean, when i am using 'name' as a variable name inside a function, it is working fine without any warning as mentioned above.
@devanshivaidya1262
@devanshivaidya1262 Жыл бұрын
@Raktim De Did you find the answer to the same? Do post here if you did.
@imamansoni
@imamansoni 4 жыл бұрын
Now i have to buy ice cream 😅
@mageshg91
@mageshg91 4 жыл бұрын
scope chaining does not allow the function to do its work.
@mnopqrst7284
@mnopqrst7284 4 жыл бұрын
Hitesh, I want your Ice-Cream
@haythamkenway8343
@haythamkenway8343 4 жыл бұрын
This scope chaining feature leads to closure
@sagarbhadke8212
@sagarbhadke8212 4 жыл бұрын
Sir can you please make videos In HINDI,It Quite comfortable ,thanks for Reading it.
@Abdulla-ip8qr
@Abdulla-ip8qr 4 жыл бұрын
First view
Light intro to THIS in javascript
7:02
Hitesh Choudhary
Рет қаралды 48 М.
Code hoisting in javascript
16:49
Hitesh Choudhary
Рет қаралды 75 М.
“Don’t stop the chances.”
00:44
ISSEI / いっせい
Рет қаралды 62 МЛН
It works #beatbox #tiktok
00:34
BeatboxJCOP
Рет қаралды 41 МЛН
Beat Ronaldo, Win $1,000,000
22:45
MrBeast
Рет қаралды 158 МЛН
Javascript interview | Closure
11:44
Hitesh Choudhary
Рет қаралды 38 М.
Promise async and await in javascript
11:39
Hitesh Choudhary
Рет қаралды 105 М.
Learn JavaScript Scoping In 10 Minutes
11:39
Web Dev Simplified
Рет қаралды 63 М.
Basics of functions in javascript
9:10
Hitesh Choudhary
Рет қаралды 60 М.
Introduction to Array in javascript
17:50
Hitesh Choudhary
Рет қаралды 63 М.
Callback and arrow function introduction in array
12:43
Hitesh Choudhary
Рет қаралды 74 М.
Closure in javascript
10:49
Hitesh Choudhary
Рет қаралды 42 М.
Object Oriented JavaScript Tutorial #10 - Prototype
8:24
Net Ninja
Рет қаралды 200 М.