Questions tagged [object]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
274 views

Objects in javascript

I'm somewhat stuck at pset 8... not really "stuck" stuck as so far my code is working the way it should, but seeing how I am a bit confused in how objects work, I guess I must have been lucky (or ofc ...
user avatar
  • 58
0 votes
1 answer
29 views

The difference between the format of houses.js and passengers.js

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 ...
user avatar
2 votes
1 answer
230 views

PSET8 Can't add property to the object array

In populate() function of service.js, I was trying to build an object array to store the passengers' name, house, placemark and marker. Basically, I created a global array, say database[], then when ...
user avatar
  • 123