Search found 6 matches
Search found 6 matches • Page 1 of 1
- 12 Aug 2020, 21:38
- Forum: Ask For Help
- Topic: How to check for duplicates while pushing to array?
- Replies: 3
- Views: 2244
You can use a loop to iterate over the array and check for the duplicate elements when you add new values or you can use an object.