Getter Setter and Stack Overflow | chai aur
HTML-код
- Опубликовано: 11 сен 2024
- Visit chaicode.com for all related materials, community help, source code etc.
#javascript #hindi
Sara code yaha milta h
github.com/hit...
Discord pe yaha paaye jaate h:
hitesh.ai/discord
Instagram pe yaha paaye jaate h:
/ hiteshchoudharyofficial
Dimaag hila diya Hitesh ji.
Is video mein bohot zyada deep chale gye
Mazaa to aya lekin dimaag bhi utna hi ghisana pada, lekin IT'S WORTH IT
❤
dsa kiya hota to relate kar pate ...same chije h ..bas public private jaisi chij yahi nahi h
"Chai aur Code, your tutorials are a beacon of light in the sometimes confusing world of JavaScript!"
"Bohot sahi course tha. I have been watching it from the beginning, and now I am about to reach the end of all the videos. They are very helpful for those who already know a bit about JavaScript. I think this playlist can be used for revising your JavaScript skills and also for learning some new, awesome tricks." ✔
how many days it took you to complete it
@@Ayush-xc5lc 15days to complete
@@Ayush-xc5lc 2 weeks🤝
I've been trying to learn JavaScript, watched many big series spending hours and practicing them, But then I understand your words 'Teaching is an Art' not everyone can do it. Your Chai and JavaScript Series is really the best series ever existed and under the hood understanding makes it much better and easy for me. I've gained confidence and doing good , All thanks to youuuu
woow! thank you for clarifying such interesting concepts behind the scenes of getters and setters!
chai aur code dekh dekh ke pehele code karne ki aadat to thi ab chai pine ki aadat bhi lag gai he .... Great video as always
Badhiya playlist he sir mene starting se dekhi
❤❤
cannot describe how great and in-depth this series is,every second is worth it.
I want to extend my warmest wishes to you. Your dedication, passion, and commitment to educating and inspiring students are truly admirable. You've not only imparted knowledge but also ignited a love for learning in so many young minds. May your journey as a teacher continue to be filled with success, joy, and countless moments of fulfillment.
Only hitesh sir know how to deliver quality content, You are the boss man
shandar lecture and series
Hitesh Sir, Thank you so much for sharing depth of knowledge and experience with us in free 😊
Thanks sir for this awesome Behind the Scene.👍👌
congrats sir for 380k subscribers 😀
Best course of js in RUclips ❤
1:49 when he say "is point ke bad aara se chill ho ke relax kar sakete hai " and then he say "itna bhi zada mat kijiyanga"
Very much Respect man for your great content. Thanks Hitesh bro !!
Love this series... LOve you Hitesh Sir...
cool best lecture ever, i learned a totally new concept. thanks
best Series ALL OVER THE UNIVERSE, thank you Sir 🙏
Thank you Sir ji for such quality videos
16:09
"Padha hai ye sab? Chaliye chhodiye usko..."
Yes sir Dual Nature of Wave!
dear sir, plz explain time and space complexity in any language , we are very confuse on this topic plz sir . your explanation helps us a lot...🙋🙏🙏
Thank You (Hitesh Sir) for providing such a great series of JS.🙏🙏
00:03 The video covers important JavaScript concepts and projects.
01:48 Understanding getter and setter with practical examples
05:35 Understanding the purpose of getters and setters in JavaScript classes
07:25 Understanding the race between getter and setter
10:59 Understanding the use of getters and setters in JavaScript
12:51 Understanding the usage of Getter and Setter in JavaScript
16:43 Defining properties using setters and getters
18:26 Defining and accessing properties using modern syntax
22:11 Understanding getter and setter in JavaScript
23:59 Creating and referencing objects in JavaScript
27:24 Understanding getter, setter, and memory manipulation in JavaScript.
28:48 Understanding the concept of getters and setters on a basic level.
First Definition Of Quality Is Chai or Code ❤😊 Thank You Hitesh Bhai 🙏🏻
29:06 koi baat nehi aap banayye ❤
🎯 Key Takeaways for quick navigation:
00:00 🌐 *Introduction and Overview*
- Overview of the video structure and challenges faced during video creation.
- Mention of the importance of basic knowledge and the diverse projects covered in the playlist.
00:13 🚀 *Finalist Video Preparation*
- Emphasis on the significance of the current video as a potential finalist.
- Acknowledgment of the need for substantial JavaScript knowledge for various projects in React, React Native, and backend development.
00:27 🛠️ *Continuous Learning in JavaScript*
- Clarification that completing JavaScript doesn't mean the end of learning.
- Assurance of creating more videos throughout the year, focusing on in-depth knowledge beyond basics.
- Commitment to providing additional knowledge through the playlist and future video additions.
00:55 🤔 *Understanding Topics Through Projects*
- Importance of understanding topics through projects and implementations.
01:10 ⚙️ *Higher-Order Functions in Detail*
- Explanation of the special nature of higher-order functions.
01:23 🤖 *Implementation Insights*
01:37 📝 *Future Topics and Focus*
- Assurance of continuing with diverse topics.
01:52 🎯 *Focus on Getter and Setter*
- Encouragement to relax and prepare for a detailed exploration of the getter and setter topic.
02:06 📄 *File Creation and Preparation*
02:20 📑 *Basic Class Declaration and Constructor*
- Basic syntax of class declaration and constructor explanation.
02:34 🔧 *Constructor Parameter Handling*
- Implementation of a constructor with parameters for email and password.
02:46 🛠️ *Creating a Test User*
- Utilizing the constructor to create a test user instance.
03:01 💡 *Object Properties and Data Storage*
- Discussion on storing email and password values in properties.
03:18 🌐 *User Input Handling*
- Handling user input for email and password.
03:32 🔒 *Secure Password Handling*
- Highlighting the need for secure password handling.
03:46 🔄 *Controlling Property Access with Getters and Setters*
- Explanation of the purpose of getters and setters.
04:01 🛡️ *Customizing Getters and Setters*
- Demonstrating the customization of getters and setters for controlling access.
04:16 ⚙️ *Leveraging Getter and Setter Control*
- Practical use of getters and setters for controlling access.
04:30 🔄 *Automated Getter and Setter Generation*
- Automatic generation of getters and setters for properties.
04:44 🤖 *Handling Multiple Scenarios with Getters*
- Handling different scenarios with automated getters.
04:58 🚧 *Troubleshooting Setter Error*
- Identifying and addressing an error related to setting the password property.
05:11 🕵️♀️ *Understanding Property Setup*
- Understanding the necessity of defining properties and their setters in the constructor.
05:25 🔄 *Importance of Setup Consistency*
- Highlighting the significance of consistent property setup throughout the class.
05:40 🛠️ *Role of Getters in Property Access*
- Clarifying the purpose of getters in accessing values outside the class.
05:54 🔒 *Password Setter Implementation*
- Implementing a password setter to control and validate the value assigned.
06:07 🔄 *Defining Setters for Controlled Values*
- Emphasizing the need to define setters for controlled property values.
06:21 🔐 *Password Setter Implementation*
- Continuing the implementation of a secure password setter.
06:35 🛠️ *Addressing Setup Issues*
- Resolving setup issues related to inconsistent property initialization.
06:49 🚀 *Resolving Value Assignment Conflicts*
- Diagnosing and resolving conflicts arising from inconsistent value assignments.
07:38 🤔 *Identifying Value Setting Challenge*
- Addressing the challenge of setting the value in the constructor.
07:53 🚧 *Constructor and Custom Setters*
- Explaining the attempt to set values in both the constructor and custom setters.
08:06 🔄 *Understanding Value Conflicts*
- Clarifying the conflict caused by simultaneous value setting in the constructor and setters.
08:20 🚦 *Resolving Race Condition*
- Discussing the race condition between constructor and setters in value assignments.
08:33 🛠️ *Unique Solution to Value Assignment*
- Proposing a unique solution to address the race condition in value assignment.
08:47 🔍 *Analyzing Value Setting Approach*
- Analyzing the implications of setting the password value during class initialization.
09:01 🔄 *Introducing New Property for Value Setting*
- Introducing the creation of a new property to handle password value assignments.
09:13 🔄 *Impact of New Property on Setters*
- Assessing the impact of the new property on the interaction with setters.
09:28 🛡️ *Recognizing and Addressing Errors*
- Identifying and addressing errors associated with getter and setter interactions.
09:41 🚀 *Proactive Issue Resolution*
- Encouraging proactive issue resolution by recognizing and addressing errors.
10:10 🔄 *Password Handling Logic*
- The code is setting the password value, but an issue arises in the constructor trying to set both email and password values simultaneously.
10:38 🔄 *Handling Password Capitalization*
- The password 'abc' is automatically capitalized due to the logic in the setter, demonstrating how password values are manipulated.
11:04 🔄 *Securing Password Access*
- Utilizing a consistent approach, the code ensures that whoever accesses the password value won't know the actual logic happening inside the class.
11:48 🔄 *Custom Getters for Email and Password*
- Discusses the creation of custom getters for email and password, showcasing how values can be fetched in a controlled manner.
12:15 🔄 *Naming Conventions in Getters and Setters*
- Introduces an issue related to naming conventions, emphasizing the need for consistency in property names.
12:46 🔗 *Basics of Setters and Return*
- Discusses the necessity of writing setters when defining getters and vice versa.
13:13 🔗 *Handling Race Conditions*
- Addresses potential race conditions between the constructor and setters.
13:54 🔗 *Transfer Values and Code Protection*
- Explains the process of transferring values between sections of the code using the 'add' method.
14:36 🔗 *Extended Usage of Getters and Setters*
- Introduces the concept of private properties using underscored email.
15:05 🔗 *Evolution of Syntax: Prototypes to Properties*
- Contrasts the old syntax of defining properties and getters/setters using prototypes.
15:19 🔍 *Accessing Properties and Defining*
- Discusses the concept of properties in functions within a class.
16:04 🔄 *Functions as Objects and Method Syntax*
- Explains how functions act as both functions and objects.
16:58 ⚙️ *Defining Properties with `defineProperty`*
- Details the syntax of using `defineProperty` to define properties.
17:40 🔒 *Handling Setters and Values*
- Discusses challenges arising from differences in handling getters and setters.
17:58 🔄 *Constructor and Custom Methods*
- Introduction to constructors and the inclusion of getter and setter for each property.
18:40 🔐 *Handling User Input and Setters*
- Explanation of handling user input for properties.
19:47 🧬 *Syntax Comparison: Basic vs. Modern*
- Highlights the syntactical differences between traditional and modern syntax.
20:42 🚀 *Object-Based Syntax and DefineProperty*
- Explores the Object-Based syntax, emphasizing defining properties within objects.
20:55 🛠️ *Creating Objects and Functions*
- Creation of an object named "object\_underscore\_get."
21:42 📚 *Getters and Setters Implementation*
- Implementing getters and setters for the email property.
22:50 🧐 *Intuitive Syntax and Class-Based Syntax*
- Addressing the intuitive aspect of syntax in class-based code.
23:33 🚧 *Object-Based Syntax Advantages*
- Emphasizing the clarity and simplicity of object-based syntax.
23:47 🛠️ *Introduction to Factory Functions*
- Explanation of factory functions and their purpose.
24:29 🏭 *Creating Objects with Factory Functions*
- Demonstration of creating objects with factory functions.
25:15 🎭 *Handling References and Accessing Properties*
- Handling references to objects created by factory functions.
25:40 🧐 *Exploring Privacy in Object Properties*
- Discussing privacy concerns in object properties.
26:10 🧐 *Understanding Getter and Setter Methods*
- Introduction to the purpose of getter and setter methods.
27:05 🚧 *Overriding and Memory Handling in Getter and Setter*
- Explanation of the process of overriding and memory handling in getter methods.
27:49 🔒 *Privacy and Accessing Property Values*
- Delving into privacy concerns related to property values.
28:46 📏 *Understanding the Role of Dot Length Property*
- Explanation of how the dot length property works in JavaScript.
29:27 🌐 *Introduction to Private Properties Proposal*
- Introduction to a new proposal related to private properties in JavaScript.
30:00 🔒 *Private Properties vs. Underscore Convention*
- Comparison between private properties and the convention of using underscores.
Made with HARPA AI
Bro,we are looking for React, React-native playlist like JS.
Outstanding you are.
Always good video same as good quality and high energy
best hai chai 🔥🔥 #15DaysJavaScriptChallenge
in depth concep, thanks sir
Aap video banate gaye , aur sunder sa playlist banata gaya ...😇
16:09 the way sir linked quantum theories with JavaScript is hilarious🤣🤣
great video
apko kya motivate kare apse motivation le rahe h maza aa gaya..
wow bhaiya mja hi aajata hai itna in-depth pd kr thanku bhaiya ✨✨
Thanx for making such efforts .
Big fan of you sir❤
Thank you sir ❤🙏
great sir what a explanation bye the way I saw this video three times but these time I play in normal mode not in 1.75x so I understood
Kitne din m is playlist ko shik sakte hai pls btao
@@SachinSharma-zv9tz time toh lgega depend krta h tum kitna time lgate ho
@@ajspot5429 koi.bhi shik sakta hai kya or Roz kitne ghanta practice karna sahi hoga
@@SachinSharma-zv9tz han koi bhi sikh skta hai computer ka basic knowledge hona chahiye , or timing toh sbka alag alag hota hai
@@ajspot5429 sir mn aj se phale kabhi bhi coding nahi ki toh agar m Roz 2 ghante practice Karu toh kya m is 2 mahine m shik jaunga
this course is amazing. really in depth videos are awesome.
Thank you Sir, very well understood.
pease make under the hood playlist series for JavaScript
Aap to super hero ho sir❤
Guys at least for each video comment and like ...Channel growth is also necessary...
Hi Hitesh,
I think @8:40 the error is due to recursion call by set password, where this.password [inside the setter] is again calling the set password() method recursively,
Hence, call stack is full & throwing the error,
Please correct me if i'm wrong,
And thanks for these first-class JS lectures
Sir g thodi sans le lo..😄 back to back etne saare videos...
😂😂😂😂
Ab aaram se chai ke saath comment chal rhe
@@chaiaurcode ab humko to sans lene do sir 😂😂
Haha, Double slit theory 16:07
Maan gaye Sir ji 🙏
Deal Accepted🤟
Thank You Sir ❤❤
thank you sir , your vedios are so helpful to us
It's my pleasure❤️
@@chaiaurcode Hi Sir most viewed course in now and future
Thankyou Sir 🥰
thanks, Best JS course 👍
i have seen many playlist of javascript which has 100-200 videos ,bt this series has 51 videos bt i have learn all the concept which i am not able to learn by that 200 videos
Thank You Sir
yes sir light wave bhi hai aur particle bhi hai
thankyou
Sir ye concept pata nhi samj nhi aa rha hain kya keru m ab ❤ aage bad jau kya sir ❤
Yes sir ,, I understand it now .. Very very Thanks to you.
Agar aapki 50% productivity hoti aaj mein successful hota
Khna kyaa chte ho bro thoda bataoge
Utsav nam ki class hitesh sir nam ki class se aadhe functions inherit krna chahti hai
@@nikhilprajapati8984😂
@@nikhilprajapati8984 Lekin majority functions ke aage "static" keyword lga h 😅
thanks a lot sir
Thanks hitesh sir
really amazed by your hardwork...❤❤
wo wla video aya kya jo sir ne bnayge 'where to go from here' krke
thank you sir
Is javascript ma ACCESS MODIFIER - public, private , protected ka concept nhi hota.
Is lea value set karna ka lea.
Example:- _password use karna padta ha.
Is it right sir?
Thank You Sir
quality content
Sirji bas kuch dedicated Projects agar aap share karate jis me ab tak jitna padhaya thoda cover ho to maja aa jaye...
Got IT ♥
pease make under the hood playlist series for JavaScript
The video is good. But i don't understand, why you didn't show us setting the value.
toh sir ye same cheez hum functional component mae kaise kar saqte hai ?
donee guruji
Bhaiya apka koi full stack web development course provide kartai ho kya
❤️❤️❤️
❤❤❤❤❤❤❤❤❤❤❤❤
Great
thank you
Thanks
Sir ye project me iska use case kya hoga?
thanku sir
The best
completed💯
Sir ji aap kaun sa vs code theme use karte hain?
excited to learn more :)
🙏
now here
Best series ❤
Sir kuch Aisa hai ki hum password ke biche me kuch characters add kar de upper or lower na kar ke
🔥🔥🔥🔥🔥🔥
Awesome
world best js serious
Like for a masalaChai ☕
Thank you sir ji ❤❤❤
Most welcome
11:15, 20:08, 26:44
Javascript ko practice kaise kare yeh playlist khatam hone ke bad next step kya hona chahiye
I think ab aapko problem solving karti rhni chahiye aur then aap frontend me koi framework pdna aur us per kaam krna shuru kr dijiye like aap react kr sacte hai angular ke sacte hai javascript ke baad typescript kr sacte hai jo ki superset hai javacsript ka and then angular jo ki frame hai fronteend ka usper kaam kr sacte hai .
love from Bangladesh
👌🏻