27:
created_at: "2020-07-28T09:43:21.082Z"
seenBy: Array(1)
0: {id: "72", imageURL: "10.png"}
28:
created_at: "2020-07-28T09:43:38.049Z"
seenBy: Array(2)
0: {id: "72", imageURL: "10.png"}
1: {id: "75", imageURL: "33.png"}
29:
created_at: "2020-07-28T09:47:19.942Z"
seenBy: Array(2)
0: {id: "99", imageURL: "26.png"}
1: {id: "75", imageURL: "33.png"}
итерация должна быть с правой стороны к левой и удалить все повторяющиеся id в seenBy
27:
created_at: "2020-07-28T09:43:21.082Z"
seenBy: Array(0)
28:
created_at: "2020-07-28T09:43:38.049Z"
seenBy: Array(1)
0: {id: "72", imageURL: "10.png"}
29:
created_at: "2020-07-28T09:47:19.942Z"
seenBy: Array(2)
0: {id: "99", imageURL: "26.png"}
1: {id: "75", imageURL: "33.png"}
-
Вопрос задан
-
74 просмотра