Undefined v/s Not Defined : JavaScriptundefined is a very special keyword in JavaScript and is not present in other languages. JavaScript code is executed in a different way. It creates a global execution context and allocates memory to all variables and functions even before a single li...1VSep 23, 2022 · 2 min readsiddharthasahu.hashnode.dev
Map, Filter & Reduce Functions in JavaScriptPrerequisite Functions are first-class citizens in JavaScript, which means that we can take a function and pass it as an argument to a function. A function which is been passed as an argument is known as Callback Function. A function which takes ano...Sep 23, 2022 · 3 min readsiddharthasahu.hashnode.dev
Hoisting in JavaScriptBefore we dive into what Hoisting is let us go through an example and understand this phenomenon. INPUT --> getName(); console.log(x); var x = 7; function getName(){ console.log("Siddhartha Sahu Blog"); } OUTPUT --> Siddhartha Sahu Blog undefined ...1VSep 19, 2022 · 3 min readsiddharthasahu.hashnode.dev