AARYAN BAJAJaaryan-bajaj-learnings.hashnode.dev路May 25, 2024Polyfills for Map , Filter & Reduce in JavascriptIntroduction Ever found yourself working on a project only to realise your JavaScript methods aren鈥檛 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...browserCompatibility
Rayane TOKOrayanetoko.hashnode.dev路Dec 5, 2023My map functionNow, 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...10 likesJavascript array methods: How it works?map
Rayane TOKOrayanetoko.hashnode.dev路Nov 24, 2023The method mapThe 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...2 likes路41 readsJavascript array methods: How it works?javascript map array