please can someone explain me these line in the matched car project i’m not understand it well and thanks in advance :

 const [index1, index2] = flipState
        .filter(card => card.visible)
        .map(card =>;
      if (index2 !== undefined){
        const card1 = flipState[index1];
        const card2 = flipState[index2];

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.