LaRynkL
Reactiflux4y ago
17 replies
LaRynk

✅ – Axel (Rinkusu) – 20-53 Oct 30

Hi, can someone explains me how is it possible that every color is set to 'blue' after this please ?
    newTiles.forEach((elem, i) => {
      elem.color = i % 2 === 0 ? 'blue' : 'red'
    })
Was this page helpful?