Toggle Sidebar
Search
Home
Feed
Extend
Hashnode Pro
Hashnode for Agents
Resources
The foreword
Hashnode gql skill
Theme
More
Buildful - AI coding agent that delivers frontier-level results at a fraction of the cost
Bug0 - The AI-native e2e QA regression testing
Hackathons
Changelog
Brand
@hashnode on X
Hashnode on LinkedIn
Support - hello+support@hashnode.com
Code of Conduct
Terms
Privacy
Sitemap
Sign in
Search Hashnode
Search posts, tags, users, and pages
Comment by -- on "How to Remove Duplicates from an Array using .includes() and a for...of Loop" | Hashnode
Discussion
Comment
How to Remove Duplicates from an Array using .includes() and a for...of Loop
-
--
Mar 1, 2023
use set and do it in one line [...new Set(...array)]
0
Reply