I can add 1 item to the array it logs [\"50\"] in the console. But when I try to add a second value I get this error \"currentScores.push is not a f
Push returns the new length property of the object upon which the method was called.
You set the state of scores to the new length each time.
addScore() { console.log(this.state.scores); this.setState(state=> ({ scores: [...state.scores, state.scoreInput] }) ); }