We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3e912c1 commit 89b8411Copy full SHA for 89b8411
1 file changed
Week7/MAKEME.md
@@ -73,9 +73,9 @@ Staff {
73
// Initialize the objects
74
// by pick your favorite movie from http://www.imdb.com/
75
// and make sure that the following actions work.
76
-console.log(InstanceMovie.getStarts().map(actor => `${actor.getName()} ${actor.getAge}`));
+console.log(InstanceMovie.getStars().map(actor => `${actor.getName()} ${actor.getAge()}`));
77
const director = InstanceMovie.getDirector();
78
-console.log(`Director: ${director.getName()}`);
+console.log(`Director: ${director.map(director => `${director.getName()}`)}`);
79
// Be creative with this let's see what you come up with :-)
80
```
81
0 commit comments