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 Réponses
+ 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