Rohil
Front-End Web Developer
Well written, always nice to see people using these methods.
Do keep in mind, depending on the array a native for loop can actually be the quicker/faster solutions. Especially filter and map can be pretty heavy according to some tests i've seen.
This is insightful, thanks for sharing!
A quick tip: You should add your code using code snippets rather than adding images. It's a better experience with syntax highlighting and great for SEO.
let filter = [10,10,20,30,50];
console.log(filter)
Append three backticks to achieve this like so:

It was a nice read about JavaScript Array methods pretty informative, Well done man awesome, Keep going doing well
Usman Sabuwala
Learning web development, running a YouTube channel
Awesome! Looking forward for some nice posts like this one! π