t
Size: a a a
S
const restorantsIds = this.restorants.reduce((acc, restaurant) => {и потом уже проверять:
acc[restaurant.id] = true;
return acc;
}, {});
if (!(restourant.id in restorantsIds)) this.mainFilter.push(restourant);
IO
IO
IO
<li class="pageNumber"><a href="#">${i}</a></li>
Но он мне не походитIO
<li class="pageNumber"><a href="#">${i}</a></li>
Но он мне не походит