0

I am currently console logging:

Array(2)
0: {id: '0p1a3', name: 'Ligue 1'}
1: {id: '0s7a9', name: 'La Liga'}
length: 2
[[Prototype]]: Array(0)

I would just like to console log the name of each competition, i have tried

  let comps = this.state.competitions.name;
    console.log(comps)
Ciaran
  • 13
  • 3

0 Answers0