Promise((resolve, reject) => {
// Resolve the promise with the result
const brands = getLikedBrands(U.id);
console.log(brands);
resolve()),
reject(Error("Some Error"))
});
resolve(brands)
Обсуждают сегодня