В чем ошибка? [21 / 30]

var getStatistics = function (players) {
var totalGoals = 0;

for (var i = 0; i < players.length; i++) {
totalGoals += players[i].goals;
}
for (var j = 0; j < players.length; j++) {
players[j].coefficient = players[j].goals * 2 + players[j].passes;
players[j].percent = Math.round(players[j].goals / 100 * totalGoals);
}

return players;
};

Привет.
Во втором цикле надо сначала делить на сумму голов, а потом умножать на 100.

players[j].percent = Math.round(players[j].goals / totalGoals * 100);