When to use Object.entries(game.scored) and when to use game.scored.entries()

const game = {
  team1: 'Bayern Munich',
  team2: 'Borrussia Dortmund',
  players: [
  score: '4:0',
  scored: ['Lewandowski', 'Gnarby', 'Lewandowski', 'Hummels'],
  date: 'Nov 9th, 2037',
  odds: {
    team1: 1.33,
    x: 3.25,
    team2: 6.5,


What is the difference between the above two console.logs entries. When to use when? Please help

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.