Building a web app using a flight data API and, welp, the struggle is real.
My returned array and it's objects look something like this:
Before I can dump the results into the DOM to display them to the visitor of the site, I need to run certain returned values through an additional API (long story) so I obviously need to isolate them somehow.
For this example, I'm using destination so my initial thought process is start by to logging out:
Which we know will print the FIRST destination in the FIRST object, since  is the index of that object (so in this case in this case we get back YTO).
Since every returned object has an index number, I think I need to loop through them (for each?) to pull the values I need but I'm trying variations of that with no luck.....or for all I know it's something else entirely.
(your two cents goes here)