00:03 JavaScript classes and object-oriented programming in great detail 02:12 JavaScript is primarily a prototype-based language. 05:56 Object Oriented Programming is used to avoid spaghetti code and create modular components 07:45 Object-Oriented Programming basics and concepts 11:27 Accessing object literals in JavaScript 13:30 Understanding properties and methods in JavaScript 17:17 Understanding global context and values in JavaScript 18:55 Understanding constructor functions in JavaScript 22:19 Understanding object values and access in JavaScript 24:01 Understanding the concept of constructor function in JavaScript 27:29 Object creation and constructor function in JavaScript 29:10 Understanding the constructor and properties in JavaScript objects. Crafted by Merlin AI.
00:03 JavaScript classes and object-oriented programming in great detail 02:12 JavaScript is primarily a prototype-based language. 05:56 Object Oriented Programming is used to avoid spaghetti code and create modular components 07:45 Object-Oriented Programming basics and concepts 11:27 Accessing object literals in JavaScript 13:30 Understanding properties and methods in JavaScript (Properties such as length and methods like map are important in JavaScript The map method loops through specific points and is influenced by the 'this' keyword) 17:17 Understanding global context and values in JavaScript 18:55 Understanding constructor functions in JavaScript [Constructor functions allow you to create multiple instances with object literals New keyword is used to create new instances and does not affect old values] 22:19 Understanding object values and access it with 'THIS' keyword in JavaScript [Values and variables are accessed using dot notation in objects Returning 'this' enables access to complete object values] 24:01 Understanding the concept of constructor function in JavaScript [Constructor function provides a new instance every time, allowing manipulation without affecting the original data. Overwriting values in constructor function can lead to potential problems in the code.] 27:29 Object creation and constructor function Using "NEW" keywordin JavaScript [The new keyword creates a new object and calls the constructor function The constructor function packs arguments inside it and injects them into the object] 29:10 Understanding the constructor and properties in JavaScript objects. This is the best video on TH-cam explaining about OOPs, This, New etc.
13:00 The reason of getting undefined is because there is a syntactical mistake we have written console.log(user.getUserDetails()); this line does 2 things, first it calls the method getUserDetails on object user, and in that method there we are logging line "got user details from the database" this line is also printed in the output, secondly it is also logging the return value of getUserDetails but our method is not returning some value, so it implicitly logs "undefined" in the output.
I think people are not sharing this channel videos, because if everyone will know about this channel then everyone will be a good developer, hence more competition😅
Sir mai aapko dil se thank you kahna chahta hoon ye course ko free me lane ke liye baki youTubers 100k subscriber pe hi paid course la rahe hai aur aapne aaj tak ek bhi course aisa nahi laya mai baki youTubers ki burai nahi kar raha hoon just aapka jo ye will Power hai wo bohot bada hai literally aap is course se crores of rupees earn kar sakte the par aapne aisa nahi kiya uske liye thank you very much mai auto driver ka beta hu aur mai afford bhi nahi kar sakta tha is type ka quality content thank you very much for giving this quality content at absolutely free
@27:08 If u have inverter AC which most likely to be a case these days, don't turn it on and off again and again, set it on a comfortable temperature for longer hours. AC compressor consumes more current during start up, but if it runs on same speed for longer hours it consumes little current. It's like your vehicle consumes more fuel in city where u accelerate and apply brakes more frequently; but the vehicle consumes less fuel on highways where you keep it running on same speed. Normal ac turns off and on its compressor as per the thermostat, but inverter AC doesn't turn the compressor off, it sets its speed as per the desired temperature and keep it running on the set speed, as a result it consumes less current while maintaining the desired temperature for long hours.
00:03 JavaScript classes and object-oriented programming in great detail 02:12 JavaScript is primarily a prototype-based language. 05:56 Object Oriented Programming is used to avoid spaghetti code and create modular components 07:45 Object-Oriented Programming basics and concepts 11:27 Accessing object literals in JavaScript 13:30 Understanding properties and methods in JavaScript 17:17 Understanding global context and values in JavaScript 18:55 Understanding constructor functions in JavaScript 22:19 Understanding object values and access in JavaScript 24:01 Understanding the concept of constructor function in JavaScript 27:29 Object creation and constructor function in JavaScript 29:10 Understanding the constructor and properties in JavaScript objects. Crafted by Merlin AI.
"I've been coding for five years now, and honestly, no one has ever explained concepts like you do. Your explanations are clear and straightforward, just like normal conversation. You're a brilliant teacher!" specially at 16:20
"Hello sir! I've gone through all your JavaScript videos, and I have to admit, I initially thought it would be quite challenging. However, after watching your content, I find myself more interested and motivated. I'm planning to delve into more of your videos and, of course, share them. Thank you, sir, for making the learning experience so engaging!"
When we use 'new' keyword, first of all an empty object is created, which is called instance. constructor function is called due to new keyword, it packs your arguments and inject it to 'this'
You are so awesome sir no one is explain this type of scenarios I am learning multiple youtubers and institution but not explain this level of the topics
Sir your teaching style or speaking skills is awesome and very impressive.. thanks sir ji ye playlist bnane k liye .. Bs sir mujhe ek promise vali video smjh nhi aai kya kruu 😢🥺 baki sb videos awesome h
Just reached video 42 from this playlist, and I'm genuinely impressed by how thorough and detailed each topic has been covered. A huge thanks to Hitesh Choudhary sir for his exceptional explanations and dedication. His in-depth insights have been incredibly valuable and have made the learning process so much more engaging!
sir ji thanks 🤩🤩🤩🤩🤩🤩🤩🤩🤩aap star ho sir pura din se new keyword par video dekh raha hu lekin aapka video dekha to samjh aaya ki new keyword kyu use ho raha hai 😘😘😘😘😘😘😘😘😘
sir ji apka bohto bohot sukriya js ki aisi free yt course ki liye ... this is the best course in the yt. sir sirf ek request hai ap js ke upar kuch bare projects karwa di jiye to fir pura js aur clear ho jayega... and Thank you again sir aise course ke liyee 💌
How “new” keyword works:- 1. "new" keyword creates a new empty object or we can say instance. 2. constructor function is called that will have all the arguments 3. "this" keyword is injected in a new instance with all the arguments 4. We will receive the new object instance with all the arguments
Sir thsnk you so much for such knowledgeable videos , I'm in London and trying really hard to learn coding in a way so that i could get my dream job and your videod are helping me a lot lot more ❤ It's an assurity to everyone if you learn from this chanel you will be on top level. I have learnt a lot from his channel and also I'm getting interviews calls as well from Sainsbury's etc.
Thanks sir for making i am watching this series from past 8 pays i have already watched codewithharry javascript but the way you teached in this course is incredible block diagrams and all astonishing experience i underestimated this course must watch for every aspirant who wants to grab reins on javascript . PS not trying to demean codewithharry because of him i learnt the basics of javascript which was also necessary bt hitesh sir just raised the bar .
16:21 undefined is coming for console log inside function it’s should be return i got that after research in old video that's happened many time in your video!
2 things that are not clear. 1-We have always been told that functions with function keyword have to use return keyword. And Arrow functions don't need return keyword. But here you showed that we don't need to use return in the function, and it was working.How? 2-this keyword inside the function was working as an empty object. But { } is assigned to this keyword when it is global. And this, inside the function, User, doesn't seem to me global on the basis of what we saw the value of this in the user object literal method was current context.so how that is working?
Sir, i have watched almost 42 videos of this playlist and found you a Best Teacher ever 👌but i want to ask about dababase and about crud operations? when we will learn about them, please guide me @Chai aur Code
00:03 JavaScript classes and object-oriented programming in great detail
02:12 JavaScript is primarily a prototype-based language.
05:56 Object Oriented Programming is used to avoid spaghetti code and create modular components
07:45 Object-Oriented Programming basics and concepts
11:27 Accessing object literals in JavaScript
13:30 Understanding properties and methods in JavaScript
17:17 Understanding global context and values in JavaScript
18:55 Understanding constructor functions in JavaScript
22:19 Understanding object values and access in JavaScript
24:01 Understanding the concept of constructor function in JavaScript
27:29 Object creation and constructor function in JavaScript
29:10 Understanding the constructor and properties in JavaScript objects.
Crafted by Merlin AI.
00:03 JavaScript classes and object-oriented programming in great detail
02:12 JavaScript is primarily a prototype-based language.
05:56 Object Oriented Programming is used to avoid spaghetti code and create modular components
07:45 Object-Oriented Programming basics and concepts
11:27 Accessing object literals in JavaScript
13:30 Understanding properties and methods in JavaScript
(Properties such as length and methods like map are important in JavaScript
The map method loops through specific points and is influenced by the 'this' keyword)
17:17 Understanding global context and values in JavaScript
18:55 Understanding constructor functions in JavaScript
[Constructor functions allow you to create multiple instances with object literals
New keyword is used to create new instances and does not affect old values]
22:19 Understanding object values and access it with 'THIS' keyword in JavaScript
[Values and variables are accessed using dot notation in objects
Returning 'this' enables access to complete object values]
24:01 Understanding the concept of constructor function in JavaScript
[Constructor function provides a new instance every time, allowing manipulation without affecting the original data.
Overwriting values in constructor function can lead to potential problems in the code.]
27:29 Object creation and constructor function Using "NEW" keywordin JavaScript
[The new keyword creates a new object and calls the constructor function
The constructor function packs arguments inside it and injects them into the object]
29:10 Understanding the constructor and properties in JavaScript objects.
This is the best video on TH-cam explaining about OOPs, This, New etc.
Great work brother 👍
I dont't know why this channel is not getting more views because this is the top notch quality you can get in any course
Hope people will share more
no..iss channel ko underatted he rehne do..overattedd hone se cheeze khrab ho jata hai..eisa aacha tutorial sab deserve nhi karte
@@chaiaurcode I had done on Linkdin
vs code theme pleasee..
just share it bro. Content weight so heavy.... IT has to be the no.1 channel in coding. Love you Hitesh Sir.
13:00 The reason of getting undefined is because there is a syntactical mistake we have written console.log(user.getUserDetails()); this line does 2 things, first it calls the method getUserDetails on object user, and in that method there we are logging line "got user details from the database" this line is also printed in the output, secondly it is also logging the return value of getUserDetails but our method is not returning some value, so it implicitly logs "undefined" in the output.
I think people are not sharing this channel videos, because if everyone will know about this channel then everyone will be a good developer, hence more competition😅
haha true
You think you wont share and they'll be unaware ...
But they might follow people way better than HC in coding world
i do same, i dont tell about this channel to anyone
Only passionate one ❤
I'm sharing this channel, because I like it more
Sir mai aapko dil se thank you kahna chahta hoon ye course ko free me lane ke liye baki youTubers 100k subscriber pe hi paid course la rahe hai aur aapne aaj tak ek bhi course aisa nahi laya
mai baki youTubers ki burai nahi kar raha hoon just aapka jo ye will Power hai wo bohot bada hai literally aap is course se crores of rupees earn kar sakte the par aapne aisa nahi kiya uske liye thank you very much mai auto driver ka beta hu aur mai afford bhi nahi kar sakta tha is type ka quality content
thank you very much for giving this quality content at absolutely free
What an explanation! Cleared all doubts and the foundations of OOP's have been set. Thank you
Fatna toh hai ..
coding seekhke fat jata hoon
@27:08
If u have inverter AC which most likely to be a case these days, don't turn it on and off again and again, set it on a comfortable temperature for longer hours.
AC compressor consumes more current during start up, but if it runs on same speed for longer hours it consumes little current.
It's like your vehicle consumes more fuel in city where u accelerate and apply brakes more frequently; but the vehicle consumes less fuel on highways where you keep it running on same speed.
Normal ac turns off and on its compressor as per the thermostat, but inverter AC doesn't turn the compressor off, it sets its speed as per the desired temperature and keep it running on the set speed, as a result it consumes less current while maintaining the desired temperature for long hours.
Thanks!
we want a seperate series for "bad m btaunga" wale topics
😁
Aaj tho playlist mai barish ho gai hai barish 😂 # thanks sir jii ❤🔥
00:03 JavaScript classes and object-oriented programming in great detail
02:12 JavaScript is primarily a prototype-based language.
05:56 Object Oriented Programming is used to avoid spaghetti code and create modular components
07:45 Object-Oriented Programming basics and concepts
11:27 Accessing object literals in JavaScript
13:30 Understanding properties and methods in JavaScript
17:17 Understanding global context and values in JavaScript
18:55 Understanding constructor functions in JavaScript
22:19 Understanding object values and access in JavaScript
24:01 Understanding the concept of constructor function in JavaScript
27:29 Object creation and constructor function in JavaScript
29:10 Understanding the constructor and properties in JavaScript objects.
Crafted by Merlin AI.
"I've been coding for five years now, and honestly, no one has ever explained concepts like you do. Your explanations are clear and straightforward, just like normal conversation. You're a brilliant teacher!" specially at 16:20
Han ji 😄
"Hello sir! I've gone through all your JavaScript videos, and I have to admit, I initially thought it would be quite challenging. However, after watching your content, I find myself more interested and motivated. I'm planning to delve into more of your videos and, of course, share them. Thank you, sir, for making the learning experience so engaging!"
When we use 'new' keyword, first of all an empty object is created, which is called instance.
constructor function is called due to new keyword, it packs your arguments and inject it to 'this'
Never get bored when learn from you Sir !!!
Sorry, but I won't share this channel with anyone else. I want to keep this channel for myself only.
Sir your teaching style is awesome. When I watch your videos I feel very energetic. Your content delivery is fantastic keep it up sir 🎉
This is how you carry a discussion. This is the first successful 30 minutes that I have ever given to any educational video
best Series ALL OVER THE UNIVERSE, thank you Sir 🙏
You are so awesome sir no one is explain this type of scenarios I am learning multiple youtubers and institution but not explain this level of the topics
Ooh itni jaldi barish shuru ...😊
Apne share krne ka commitment kiya h n maine videos ka.
@@chaiaurcode Sir jarur karenge. Thanks again
Sir your teaching style or speaking skills is awesome and very impressive.. thanks sir ji ye playlist bnane k liye ..
Bs sir mujhe ek promise vali video smjh nhi aai kya kruu 😢🥺 baki sb videos awesome h
Thanks Sir, for this awesome content..Completed 42nd Video.
thanks ji
Just reached video 42 from this playlist, and I'm genuinely impressed by how thorough and detailed each topic has been covered. A huge thanks to Hitesh Choudhary sir for his exceptional explanations and dedication. His in-depth insights have been incredibly valuable and have made the learning process so much more engaging!
literally he can earn crores by selling his course but he decided to give it free 🆓
You're great Hitesh Sir.
hitesh bhaiya Flutter pe bhi video laaoge kya @chaiaurcode
awesome man you've got good content. keep it up
Thanks, will do!🙏😊☕️
which is theme of vscode in this lecture/video
Wow really help full Haaan G ❤❤❤
Sir Ji Or Video bna dijiye 🙏
Sir bohot hi badhiya explanation new keyword ka bohot videos dekhe ab clear hua
sir ji thanks 🤩🤩🤩🤩🤩🤩🤩🤩🤩aap star ho sir pura din se new keyword par video dekh raha hu lekin aapka video dekha to samjh aaya ki new keyword kyu use ho raha hai 😘😘😘😘😘😘😘😘😘
Great Tutorial for js and best teacher. Explain things with a ease and smile
sir ji apka bohto bohot sukriya js ki aisi free yt course ki liye ... this is the best course in the yt.
sir sirf ek request hai ap js ke upar kuch bare projects karwa di jiye to fir pura js aur clear ho jayega...
and Thank you again sir aise course ke liyee
💌
sir aap function ko console k andar call kr rhe ho isliye undefined aa rha he
Thank you sir this keyword samjhane ke liye kya mast samjhaya hai ek bar me hi fit ho gya 🎉🎉
loved your way of teaching sir..respect for you ;)
Abstraction is a design thinking and implementation of Abstraction is done by using Encapsulation.
How “new” keyword works:-
1. "new" keyword creates a new empty object or we can say instance.
2. constructor function is called that will have all the arguments
3. "this" keyword is injected in a new instance with all the arguments
4. We will receive the new object instance with all the arguments
l like you explaintion way(I dont't know why this channel is not getting more views because this is the top notch quality you can get in any course)
the best explanation of js objects
Seriously, u r such an amazing teacher❤
Main aj tak nhi dekha kahi TH-cam channel ittan deep nhi learning krte apke jaise ❤❤❤
really I have watched many video but this is op, great explaination specially the example on new keyword
thanks a lot
behtareeen bhetareen behtareen lecture
Sir thsnk you so much for such knowledgeable videos , I'm in London and trying really hard to learn coding in a way so that i could get my dream job and your videod are helping me a lot lot more ❤
It's an assurity to everyone if you learn from this chanel you will be on top level.
I have learnt a lot from his channel and also I'm getting interviews calls as well from Sainsbury's etc.
All doubt is clear.
Thank you ❤❤❤
I'm glad that I found this channel . Thankyou sir for this amazing content which you are providing us.
Finally I am here again
"Chai aur Code, your tutorials have been a game-changer in my JavaScript learning process. Thank you!"
excellent video sir, loved it🤩
The best way of teaching.
Rocks ❤
"Kudos for simplifying OOP in JavaScript! Your tutorial saved me hours of confusion. Looking forward to more great content from you."
Thanks sir for making i am watching this series from past 8 pays i have already watched codewithharry javascript but the way you teached in this course is incredible block diagrams and all astonishing experience i underestimated this course must watch for every aspirant who wants to grab reins on javascript . PS not trying to demean codewithharry because of him i learnt the basics of javascript which was also necessary bt hitesh sir just raised the bar .
PS i completed this series in 10 days because of the basics i leant from codewithhahrry
Dil se sukriya sir, this is a billion dollar content for us 🙏❤️
no need to spend billion dollar, jst give him 100 dollar..
Apka har ek video dekh ke bahut kuch new sikhne milta hai❤
You are awesome teacher 😌😌😊😊
Sir your way of explanation is wonderful I would definitely recommend this channel to my friends
Boht bhariyaaaa explanation sir❤️❤️❤️
thank you sir😊😊❤❤
we thank you for awesome lectures
The guy always explain very well ❤
maza aagya padh ke wao 👌👌❤❤❤❤
❤❤ thank you sirji 😊
17:44 it' s not an empty paranthasis it's an empty object
I'm glad that I found this channel
Like your way of teaching 👍👍👍👍
Sir react kab tak start hoga plz tell me ❤
Thanks 🙏❤
You're welcome 😊
love you hithesh sirji
Jeo g hazaro sal 😇
coolest teacher ever 😎
16:21 undefined is coming for console log inside function it’s should be return i got that after research in old video that's happened many time in your video!
excited to learn more :)
big respect from Pakistan
sir make project for example portfolio making
Helpful information thank you
2 things that are not clear.
1-We have always been told that functions with function keyword have to use return keyword. And Arrow functions don't need return keyword. But here you showed that we don't need to use return in the function, and it was working.How?
2-this keyword inside the function was working as an empty object. But { } is assigned to this keyword when it is global. And this, inside the function, User, doesn't seem to me global on the basis of what we saw the value of this in the user object literal method was current context.so how that is working?
It is a well explained video.
Baki bhoat acha laga lots of concept I learnt from you ❤❤❤
best of both world 👍👍👍👍👍👍
bhot accha padhate ho sir aap itni mehnat agr university me kr do to lackho rupe mile lekin
sir jii thanku free me padhaane ke liye
Thank you so much sir ☺️
thank you sir ❤❤❤❤
I am not understand use of this keyword in a function, it was confusing for me can your please help me
Thanks sir
Hitesh sir ki series ke age koi kuch bol skta hai kya ? Thanks a lot sir
thankyou so much sir!!!
Sir, i have watched almost 42 videos of this playlist and found you a Best Teacher ever 👌but i want to ask about dababase and about crud operations? when we will learn about them, please guide me @Chai aur Code
That’s in my backend series
Extremely underrated content!!!
paaji video ke name mai bhi video number daal dijiyeee ,, helpful hoga hmare liye
sir can you tell me how to used constructor in API
can you make one video pls
amazing video for js
completed 💯
`Thanks Sir, Advance topics cleared ${Yai to hogaya Basics}`;
This video is going to be blast.
Edit: and yes jor se blast hua
4 months ka course 32 minutes main dabardoooos