shuttle.seats[j] = [{
name : PASSENGERS[i].name,
house : PASSENGERS[i].house
}];
For chart when I try to access the value of shuttle.seats[j].name I get the value as undefined.
However using console.log, value of PASSENGERS[i].name is correct, therefore it's value is not being inputted correctly into the array.