0

How to filter dublicate numbers in an array with zeroes through a function? in JavaScript.

28th Jun 2017, 1:38 AM
Aman Singh
Aman Singh - avatar
6 Answers
+ 2
since u do javascript i assume ur talking about javascript. filter duplicate elements is just this arr = [...new Set(arr)]
28th Jun 2017, 3:52 AM
David Sebastian Keshvi Illiakis
David Sebastian Keshvi Illiakis - avatar
+ 1
Use "if" condition within a loop.Simpleâ˜ș
28th Jun 2017, 2:00 AM
Saikat Mukherjee
Saikat Mukherjee - avatar
+ 1
In Java, C++, C#, Ruby or Javascript?
28th Jun 2017, 2:32 AM
CalviŐČ
CalviŐČ - avatar
0
Are u asking,how to check the same value in array? Please explain your question in briefâ˜ș
28th Jun 2017, 1:53 AM
Saikat Mukherjee
Saikat Mukherjee - avatar
0
yes the same numbers in an array.
28th Jun 2017, 1:54 AM
Aman Singh
Aman Singh - avatar
0
You have to say the programming language.
28th Jun 2017, 2:00 AM
Don
Don - avatar