
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...
Coding made easy
Software Engineer @Luno 🚀 JS/TS and Docker enthusiast
Markdown supported · ⌘↵ to post
No responses yet.