As the name suggests, the scope basically defines where the boundaries and rules for a variable in JavaScript like where it will be stored, how it will be accessible, what is its lifetime and who can access it. While the concept of scope itself is not complex, most of the times the beginners find it … Continue reading A deep dive into scope in JavaScript
Category: JavaScript
JavaScript Inheritance – Explained
In a classical Object Oriented world, the inheritance has a very well defined expectation. Code Reuse, where a derived class makes use of the accessible properties and methods and declares or overrides methods / properties which are specific to the derived class. Type Structure, where the derived class has a defined type, related to the … Continue reading JavaScript Inheritance – Explained
Object Oriented Concepts and its mapping in Javascript
In the field of IT, one of the most commonly used terms is “Object Oriented” Programming(OOP). It takes a while to fully understand and grasp the concepts of OOP, but once you do, the gates of the programming world are wide open for you ! Let’s start with first understanding the concepts of OOP with … Continue reading Object Oriented Concepts and its mapping in Javascript
Understanding This keyword with JavaScript Invocation Patterns
The this keyword is very important in Javascript, and anyone who has worked on any Object Oriented programming language would have surely used 'this'. A good understanding of this is essential and the value of this is determined by how the invocation is done. In this blog, we will go through the various invocation patterns … Continue reading Understanding This keyword with JavaScript Invocation Patterns
JavaScript Best Practices
It is important to write clean and manageable code all the time. In fact, the kind of dependencies we humans have on technology, I will go one step further and say that there is no excuse to write poor quality code. Intentionally people don’t want to write poor quality code. However, we do see a … Continue reading JavaScript Best Practices
JavaScript Myths Busted!
In the last decade, JavaScript(JS) has grown really fast. On the first look, the language looked half-cooked and good enough for doing few basic things in the browsers. However, the willingness to have a thick client and the popularity of the UI frameworks like Angular, React, Ext JS, and server side languages like Node.js, etc … Continue reading JavaScript Myths Busted!
Javascript functions explained to stay with you forever
Of all the capabilities, I really like the way function is implemented in Javascript. I often wonder if there is anything that could have been done better. In this article, I will introduce Javascript functions. In the next few articles, I will build on that and enable you to understand function thoroughly. Prerequisite I am … Continue reading Javascript functions explained to stay with you forever