Thisura Thenukathisurathenuka.hashnode.devยทAug 21, 2023JavaScript's copyWithin is strange ๐ฌI've been writing a comprehensive guide for JavaScript array methods while learning them myself. I tried out all possible variations of each method and the methods were doing what I expected them to do, except for one. I spent quite some time trying ...44 readsdaily-nuggets
Thisura Thenukathisurathenuka.hashnode.devยทAug 19, 2023Don't misuse JavaScript Array mapI've been using the JavaScript Array map() function whenever I needed to iterate an array and manipulate it. But today I learned that even though it gets the job done, it has some disadvantages. Usage map is a higher-order function in JavaScript sinc...43 readsJavaScript