We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3e912c1 + 89b8411 commit e337bdcCopy full SHA for e337bdc
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