if(highScores.some(s => s.name === score.name) {
//I need access to s here
}
how can I get access to 's' inside the brackets?
if(highScores.some(s => s.name === score.name) {
//I need access to s here
}
how can I get access to 's' inside the brackets?