0
if(highScores.some(s => s.name === score.name) {
        //I need access to s here
}

how can I get access to 's' inside the brackets?

DanielG
  • 217
  • 2
  • 6

0 Answers0