What is a higher order function? In JavaScript, a higher-order function is a function that takes one or more functions as arguments, or returns a function as output. These functions are a powerful feature of the language that allow you to write concise and expressive code. The best way to…
First Class Citizens in JavaScript Explained Simply
Seeing the term “first class citizen” is indeed intriguing at first, but most sucked into the rabbit hole of functional programming and leave with no real understanding of what first class citizens even do. In this blog, I’m going to provide practical knowledge of what you need to know and…
Var, Let, Const in JavaScript Explained Simply
Coming from a C#/Java background, it is almost habit to use “var” for every variable instantiation. In JavaScript world, this is a huge no-no and the JS community (to a certain extent) frowns upon the use of “var”. This blog will teach you practical tips and educate you on the…
The JavaScript Execution Context Explained Simply
Software development (and more in particular front end development!) is an art form. We want our code to be beautiful and to a certain extent we are expressing our emotions (you know the usual, fear, anger, and unrestrained greed lol). The computer needs to “do something” or react to our…
The JavaScript Engine Explained Simply
While the world of JavaScript can sometimes seem like a strange place, it is no different in how it works underneath the hood *broadly speaking*. At the end of the day, all the JavaScript engine does is takes your .js file and executes it. BUT knowing the small nuances of…