Hi Dev Community! ๐ I'm back with an exciting update on my 21-day JavaScript learning challenge, coming from the amazing Hitesh Choudhary's YouTube channel, "ChaiAurCode." Today marks Day 11, and it has been a tremendous journey thus far. Let's see what I learned today! ๐
Object-Oriented Programming in JavaScript ๐ง
Today, I learned about Object-Oriented Programming in JavaScript. Object-oriented programming is the approach that uses objects and classes in structuring code so that it can be more modular and reusable. Knowledge of OOP is indispensable when it comes to developing scalable applications, so I enjoyed learning all the nuances of this paradigm. ๐
The this Keyword and new Keyword ๐
Next, I dived into the keyword this. In JavaScript, this refers to the object from which it was called. All this helped me understand how this works in different contexts and write strong code accordingly. Also, I learned about the keyword new which is used to create instances of objects. While running several programs, I observed how 'this' and 'new' work in practice. ๐
Prototypes and Custom Functions ๐ ๏ธ
Finally, I delved into JavaScript's prototypal inheritance. The Prototypes allow properties and methods to be added to objects, hence allowing inheritance and method sharing to work between instances. I have also learned how to write my own functions to implement on objects, arrays, and strings. It was a powerful way to see how the prototype chain works in JavaScript. ๐ก
Check out my GitHub repo, where I'm documenting all the code and programs. Also, find my journey shared on LinkedIn; just connect with me there! ๐ค
Github repo:-https://github.com/Rohit-1301/21-day-Javascript/tree/main/Day%2011%20of%20Javascript
Linkedin:-www.linkedin.com/in/rohit-gupta-687b9829a
Be sure to check out the "ChaiAurJavaScript" playlist by Hitesh Choudhary if you're learning JavaScript in depth. An outstanding playlist for both beginners and pros. Here you go! ๐
Youtube Playlist link:-https://youtube.com/playlist?list=PLu71SKxNbfoBuX3f4EOACle2y-tRC5Q37&si=xOpuIYVRSxqBvDRN
Happy coding! ๐ป
Top comments (0)