ACAmit Chaudharyinamitsblog.hashnode.dev·May 29, 2023 · 1 min readWhat is flat() function in JavaScript ,how to implement it's polyfill.Before starting to read this article, You must have good knowledge of 'this' keyword of JavaScript. If you want to learn about 'this' keyword ,Please Click here The flat() method creates a new array with all sub-array elements concatenated into it . ...00
ACAmit Chaudharyinamitsblog.hashnode.dev·May 28, 2023 · 3 min readWhat is composition and pipe in JavaScript functional programmingPrerequisite - you must have good knowledge of reduce and reduceRight methods of the array in JavaScript and how they work under the hood. If you know about the reduce and reduceRight , please click here composition- When talking about function compo...00
ACAmit Chaudharyinamitsblog.hashnode.dev·May 27, 2023 · 3 min readEverything you need to know about 'this' keyword in JavaScript'this' keyword is something that is most important to learn when you are learning js. since 'this' keyword refers to the current execution context in javascript , so we first need to understand what is execution context and what is binding then we ca...00
ACAmit Chaudharyinamitsblog.hashnode.dev·May 26, 2023 · 2 min readDifference between reduce and reduceRight method in JavaScript. reduce function reduce the array from left to right , where as reduceRight reduces the array from right to left and give a value after performing respective calculation like addition , multiplication etc. What the above statement actually means, be...00