Here are 6 Js one-liners that just saves me time when I write code. Remove Duplicated from Array You can easily remove duplicates with Set in JavaScript. It's a lifesaver. const removeDuplicates = (arr) => [...new Set(arr)]; console.log(removeDuplic...
blog.dehlin.dev2 min read
No responses yet.