Skip to content
This repository was archived by the owner on May 14, 2024. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions Week7/MAKEME.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,9 +73,9 @@ Staff {
// Initialize the objects
// by pick your favorite movie from http://www.imdb.com/
// and make sure that the following actions work.
console.log(InstanceMovie.getStarts().map(actor => `${actor.getName()} ${actor.getAge}`));
console.log(InstanceMovie.getStars().map(actor => `${actor.getName()} ${actor.getAge()}`));
const director = InstanceMovie.getDirector();
console.log(`Director: ${director.getName()}`);
console.log(`Director: ${director.map(director => `${director.getName()}`)}`);
// Be creative with this let's see what you come up with :-)
```

Expand Down