JavaScript Fundamentals: What is “this”?

“this” parameter is one of the most common confusing subjects in JavaScript, despite the fact that it’s so easy to comprehend when we just approach it the right way. You can think of “this” as just a function parameter that gets assigned to a specific object when the function is invoked, and that object is […]

JavaScript Fundamentals: Closures

A closure is just any function that somehow remains available to invoke after its outer scopes have been invoked and returned, the closed function keeps having access to all variables of its outer scopes in-where it has been defined. In other words, A closure is a way to keep having access to local scope variables […]

JavaScript Fundamentals: Scopes

Scopes or Variable Scopes are the places in our code where we have access to that variable, we distinguish two types of scopes: Global Scope Interlexical or Local Scopes The Global scope is the highest level scope in a JavaScript Program, in a browser environment it’s controlled by the window object, for a simple program […]

JavaScript Fundamentals: Prototypal Inheritance

JavaScript is a prototypal-based scripting language, created by Brendan Eich back in 1995 for the sake of bringing dynamicity to the web, since then, JavaScript has been evolving to be now one of the most common programming languages used on the client-side by all modern browsers and also in the server-side with NodeJs, It could […]

React Logo
Redux Logo
NodeJS Logo
MongoDB Logo
Docker logo
Scroll to top