Day 12: Exploring Advanced JavaScript Concepts

Hello, dev enthusiasts! I am very excited to share the experience of day 12 of my 21-day JavaScript learning challenge under the mentorship of awesome Hitesh Choudhary at his “ChaiAurCode” YouTube channel. So, let’s get started with today’s learning! T…


This content originally appeared on DEV Community and was authored by Rohit-1301

Hello, dev enthusiasts! I am very excited to share the experience of day 12 of my 21-day JavaScript learning challenge under the mentorship of awesome Hitesh Choudhary at his "ChaiAurCode" YouTube channel. So, let's get started with today's learning! Today was quite dense with some advanced and indispensable concepts of JavaScript—one of the many topics every aspirant developer must-have.

The Call Stack in JavaScript 🧩
The first of these is the call stack. At its most basic, an interpreter such as V8 is how an interpreter like V8 keeps track of its place in a script that calls multiple functions: what function is it inside right now, and after this operation is complete how does it know what to do next and where does it get back the function that it just called. It is really very important that you must understand how the call stack works so as you can effectively debug and optimize your code.

**Classes and Constructors 🏗️
**Now we again going to revise classes and constructors. The syntax of JavaScript classes becomes more strict from ES6 and objects and inheritance are easily defined. Whereas constructors are specially defined methods for object initialization. This session further built on my knowledge to be able to define and instantiate a class, which in part made my code relatively organized and modular.

Inheritance 👨‍👩‍👧‍👦
Continuing with classes, we learned inheritance, which is one of the principles of object-oriented programming. It gives the ability to a class to inherit properties and methods from another class in order to achieve reusability and efficiency of the code. I liked this one; it was very informative as I saw exactly how JavaScript handles inheritance in a way that is totally different from other languages that I have used.

Static Keyword 🔧
We moved to the static keyword. This is because static methods are called using the class rather than the instance of the class. For most parts, they are used for utility functions. Learning about their usage was quite an eye-opener, for it seems to open up new ways I can structure my code.

Bind Method 🔗
The final bit of functionality for functions we learned about was the bind method. The bind method creates a new function that, when called, has its this value set to the provided value with a given sequence of arguments preceding any provided when the new function is called:. Is a powerful tool, especially when facing asynchronous code. I've also learned about its history and its use in the early days of the React framework.

Connect and Follow 📡
All my learnings will be documented with code here on my GitHub repository. Do not forget to see it and maybe give it star if useful! Also, connect with me on LinkedIn for more insights and updates.
Github repo:-https://github.com/Rohit-1301/21-day-Javascript/tree/main/Day12%20of%20Javascript
Linkedin:-www.linkedin.com/in/rohit-gupta-687b9829a

**Learn JavaScript with "Chai Aur Code" 🎓
**Given below is a playlist for JavaScript one ought to refer to for learning JavaScript: Hitesh Choudhary: One of the superlative tutors one can find in this subject. He really makes his point clear and shows working examples, which you can follow through.
Playlist link:-https://youtube.com/playlist?list=PLu71SKxNbfoBuX3f4EOACle2y-tRC5Q37&si=jVz1VdwKUmCBEvYT

Well, that's it for today, people! Please look out for further updates in continuation of this thrilling journey. Happy coding! ✨💻


This content originally appeared on DEV Community and was authored by Rohit-1301


Print Share Comment Cite Upload Translate Updates
APA

Rohit-1301 | Sciencx (2024-08-06T17:19:45+00:00) Day 12: Exploring Advanced JavaScript Concepts. Retrieved from https://www.scien.cx/2024/08/06/day-12-exploring-advanced-javascript-concepts/

MLA
" » Day 12: Exploring Advanced JavaScript Concepts." Rohit-1301 | Sciencx - Tuesday August 6, 2024, https://www.scien.cx/2024/08/06/day-12-exploring-advanced-javascript-concepts/
HARVARD
Rohit-1301 | Sciencx Tuesday August 6, 2024 » Day 12: Exploring Advanced JavaScript Concepts., viewed ,<https://www.scien.cx/2024/08/06/day-12-exploring-advanced-javascript-concepts/>
VANCOUVER
Rohit-1301 | Sciencx - » Day 12: Exploring Advanced JavaScript Concepts. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2024/08/06/day-12-exploring-advanced-javascript-concepts/
CHICAGO
" » Day 12: Exploring Advanced JavaScript Concepts." Rohit-1301 | Sciencx - Accessed . https://www.scien.cx/2024/08/06/day-12-exploring-advanced-javascript-concepts/
IEEE
" » Day 12: Exploring Advanced JavaScript Concepts." Rohit-1301 | Sciencx [Online]. Available: https://www.scien.cx/2024/08/06/day-12-exploring-advanced-javascript-concepts/. [Accessed: ]
rf:citation
» Day 12: Exploring Advanced JavaScript Concepts | Rohit-1301 | Sciencx | https://www.scien.cx/2024/08/06/day-12-exploring-advanced-javascript-concepts/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.