_mercury
_mercury2y ago

✅ – _mercury – 22-00 Sep 2

console.log('selectedAttributes', selectedAttributes);

const attributes = selectedAttributes.map((attr) => ({ id: attr.value }));

console.log('attributes' + attributes);
console.log('selectedAttributes', selectedAttributes);

const attributes = selectedAttributes.map((attr) => ({ id: attr.value }));

console.log('attributes' + attributes);
why map gives this result ?
5 Replies
_mercury
_mercury2y ago
_mercury
_mercury2y ago
This is the console.log
Unknown User
Unknown User2y ago
Message Not Public
Sign In & Join Server To View
_mercury
_mercury2y ago
Aha , fuck this thx
reactibot
reactibot2y ago
This question has an answer! Thank you for helping 😄 If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1015380635457703966 This thread hasn’t had any activity in 12 hours, so it’s now locked. Threads are closed automatically after 12 hours. If you have a followup question, you may want to reply to this thread so other members know they're related. https://discord.com/channels/102860784329052160/565213527673929729/1015380635457703966