Polyfills for .map(), .reduce(), .filter() methodsIntroduction Before creating polyfills for the map, reduce, and filter method, let's first take a look at what they are used for. Map Method The map method creates a new array by transforming the original array according to our needs. The below code ...Aug 2, 2022 · 3 min readbilalmansuri.hashnode.dev
Scope in JavascriptScope The scope can be defined as the region in which a variable can be accessed. Outside this region, that variable is not available. In JavaScript, there are three types of scopes Block Scope, Function Scope, Global Scope Block Scope - Block scop...Aug 2, 2022 · 2 min readbilalmansuri.hashnode.dev
Debouncing and Throttling in javascriptIntroduction Debouncing and throttling are often confused by the developers. Both are two different techniques of doing a similar task - controlling the number of times a function should be executed over time. Debouncing and throttling help us to opt...Jul 25, 2022 · 4 min readbilalmansuri.hashnode.dev
Hoisting in JavascriptIn this blog, we will be reading about how hoisting works in the case of var, let, and const. Before starting let's understand what is hoisting? In simple terms, we can explain it like this- accessing a variable or function before declaring it in cod...1MJul 20, 2022 · 4 min readbilalmansuri.hashnode.dev