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:

Yes i know but it will take some time & I am a bit too lazy haha😅 Bolaji Ayodeji