When working with JavaScript objects and arrays it is often tricky to reference the correct index of the data you need. These console functions allow you to visually see the structure so that job is a bit easier.
console.table($yourObject);
Writes your object as a string
console.log(JSON.stringify($yourObject))