Checkout my Blogs...

Explanation of JavaScript Closures

27th January, 2022 

A closure is a combination of a function bundled together with relations to its surrounding state (the lexical environment). The closure is the most esoteric of JavaScript concepts. It enables powerful pro-level functions like ‘once’ and ‘memoize’...

Introduction to Promises and Async and Await Promises in Javascript!

24th September, 2021  mark15

A promise is an object that may provide a value sometime in the future: either a resolved value or a reason that it’s not resolved. A promise may be in one of 3 possible states: fulfilled, rejected, or pending...

Javascript: Higher Order Functions (map , filter , reduce)!

24th September, 2021  mark15

Higher-order functions are functions that take other functions as arguments and/or return functions as their outputs. Taking another function as an argument is often referred to as a callback function because it is called back by the higher-order function.
map, sort, reduce, filter, forEach are examples of higher-order functions...