A deep dive into scope in JavaScript

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

Advertisements

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

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 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