Hi Could someone kindly check my work on Test your skills: Object basics?
I struggled especially working on 4, as I didn’t know how to add multiple object members (including a method!) to a constructor. I did a little bit of research and the result seems okay enough…?
All tasks are correctly solved. In task 2 it may be better to use an array of objects for the albums. The keys (album1, album2) don’t really add anything meaningful.
I revised task 2 using an array of objects. Could you please see if I did correctly?
I think I struggled to understand how to use multiple objects from the example written in “Introducing constructors”, because it only uses one object createPerson(name) {}
Anyway I’m happy that I understand it correctly now! Hopefully I get used to them when I meet them more in the future!