arr - array of objects id - filter value arr.filter((item, index, arr) => arr.findIndex(_item => _item.id === item.id) === index)