_mercury 🇵🇸_
Reactiflux4y ago
5 replies
_mercury 🇵🇸

✅ – _mercury – 22-00 Sep 2

      console.log('selectedAttributes', selectedAttributes);

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

      console.log('attributes' + attributes);


why map gives this result ?
Was this page helpful?