Typefully
@Vanshsh2701
Log in
3 Ways to delete array in JavaScript
Share
•
4 years ago
•
View on X
3️⃣ Ways to delete duplicate items from array in JavaScript 🧵
1️⃣ using (new Set)
2️⃣ using ( indexOf and filter )
3️⃣ using (forEach and include )
▶️ Reference:
javascripttutorial.net/array/javascript-remove-duplicates-from-array/