Ubuntu

버그: champList의 길이가 올바르지 않던 버그 수정

Showing 1 changed file with 3 additions and 0 deletions
...@@ -340,6 +340,9 @@ function generateQuiz() { ...@@ -340,6 +340,9 @@ function generateQuiz() {
340 //#endregion 340 //#endregion
341 341
342 //#region 모스트 승률 챔피언 342 //#region 모스트 승률 챔피언
343 + var champions = fakerData.champions;
344 + var champList = Object.keys(champions);
345 +
343 var firstWinRateChamp = champions[champList[0]]; 346 var firstWinRateChamp = champions[champList[0]];
344 var secondWinRateChamp = champions[champList[0]]; 347 var secondWinRateChamp = champions[champList[0]];
345 for (i = 0; i < champList.length; i++) { 348 for (i = 0; i < champList.length; i++) {
......