Feb 17 · 6 min read · High order functions are functions which accept a function in its argument or returns an function. Lets discuss an high order function with examples : function name(passed){ name = "Abhinab"; passed(name) } function greet(fullName){ cons...
Join discussion
May 25, 2024 · 6 min read · Introduction Ever found yourself working on a project only to realise your JavaScript methods aren’t supported in older browsers? 🤔 Let's talk about how polyfills can be your rescue squad! In this blog, we'll explore What polyfills are Why the...
Join discussion
Dec 5, 2023 · 3 min read · Now, let's create our version of the map method.As mentioned in the introduction, to avoid the complexity of classes, we will use functions that take the array as a parameter to perform operations on it. So, the first param of our map function will b...
Join discussion
Nov 24, 2023 · 7 min read · The method map is an array method that allows you to perform operations on the elements of an array. Imagine you have an array like this : const nums = [2, 4, 3, 11, 19]; and for one reason or another, you want to get the double of each element of t...
Join discussion