Articles in this series
In some cases, closure can be tricky to predict. Gathered some of these concepts with code implementations to make the closure easy and...
Elaborating the JavaScript "this" with examples. · Overview The this keyword can be one of the most confusing concepts in JavaScript. We will explain...
Explained the nature of JavaScript Hoisting with examples. · Overview In JavaScript, during code execution, it hoists var and function. For variable...
The class keyword in Javascript is syntactic sugar. Internally it uses prototypal inheritance. Prototypal inheritance is like Java or Python classical...
With examples, let's discover closures properties and interesting use cases. · Closures allow a method to access variables of another method, even though...
A function in JavaScript is an object, because, Functions contain properties like objects We can add new properties or read the properties We can...