NS
Size: a a a
NS
МС
БО
K{
K{
БО
K{
K{
БО
K{
text-stroke CSS
K{
БО
БО
K{
K{
БО
K{
VP
const a = [1,2,3, {id: 3}, {id: 1}, {id: 3}, {id: 2}];
const b = a.filter((item, index) => {
if (!item.hasOwnProperty('id')) return true;
return a.findIndex(item2 => item2.id === item.id) === index
})
console.log(b)