Why is the following at line 44 undefined but it works properly on line 43?
console.log(`victory ${game[team]}`);
Why is the following at line 44 undefined but it works properly on line 43?
console.log(`victory ${game[team]}`);
Taking a closer look at the object, that is looped should give some ideas what’s happening.
console.log(Object.entries(game.odds));
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.