could anyone please help me with this, I do not know the answer and I have a error code
Code: `const team = {
_players: [
{firstName: ‘Michael’, lastName: ‘Jordan’, age: 35},
{firstName: ‘Joel’, lastName: ‘Embiid’, age: 29},
{firstName: ‘Giannis’, lastName: ‘Antetokounmpo’, age: 29},
],
_games: [
{opponents: ‘Suns’, teamPoints: 70, opponentPoints: 52},
{opponents: ‘Clippers’, teamPoints: 45, opponentPoints: 72},
{opponents: ‘76ers’, teamPoints: 60, opponentPoints: 63},
],
get player() {
return this._players;
},
get games() {
return this.games;
},
addPlayer(newFirstName, newLastName, newAge) {
let player = {
firstName: newFirstName,
lastName: newLastName,
age: newAge
};
this.players.push(player);
},
addGame(newOpponent, newTeamPoints, newOpponentPoints){
let game = {
opponents: newOpponent,
teamPoints: newTeamPoints,
opponentPoints: newOpponentPoints
};
this.games.push(game)
}
};
team.addPlayer(‘Stephen’, ‘Curry’, 83);
console.log(team.players);
team.addGame(‘Titans’, 100, 98);
console.log(team.games);`
Link: https://www.codecademy.com/courses/introduction-to-javascript/projects/team-stats