Пожалуйста, замените код ниже
var game = {
fullName: 'Mark Visp',
score: [110, 320, 50, 80],
total: 0,
sumScore: function () {
var _total = 0;
for (i = 0; i < this.score.length; i++) {
_total = _total + this.score[i];
}
this.total = _total;
}
}
game.sumScore();
console.log(game);