Usuń powtarzające się proprty tablicy

Przykłady kodu

2
0

javascript filter array Usuń duplikaty

// Using the Set constructor and the spread syntax:

arrayWithOnlyUniques = [...new Set(arrayWithDuplicates)]
0
0

Usuń duplikaty w tablicy

uniq = [...new Set(array)];

or 

uniqueArray = a.filter(function(item, pos) {
    return a.indexOf(item) == pos;
})

W innych językach

Ta strona jest w innych językach

Русский
..................................................................................................................
English
..................................................................................................................
Italiano
..................................................................................................................
Română
..................................................................................................................
한국어
..................................................................................................................
हिन्दी
..................................................................................................................
Français
..................................................................................................................
Türk
..................................................................................................................
Česk
..................................................................................................................
Português
..................................................................................................................
ไทย
..................................................................................................................
中文
..................................................................................................................
Español
..................................................................................................................
Slovenský
..................................................................................................................
Балгарскі
..................................................................................................................
Íslensk
..................................................................................................................