Conceptually: What is the difference between their format? (Array of objects? vs. ???) Been struggling to qualify this.
Practically: I understand how to retrieve data in passengers.js but have been having trouble accessing the information I want in houses.js. For example, individual PASSENGERS can be accessed PASSENGERS[i], where i is an integer, but that will not work for HOUSES
It would be helpful if someone could explain the difference conceptually and show a few practical examples. Thanks.
Ex. PASSENGERS[0] returns the first passenger in what appears to me to be an array of objects. HOUSES[0] returns undefined.