Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 89b8411

Browse files
authored
MAKEME.md
fixing few mistakes
1 parent 3e912c1 commit 89b8411

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Week7/MAKEME.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,9 +73,9 @@ Staff {
7373
// Initialize the objects
7474
// by pick your favorite movie from http://www.imdb.com/
7575
// and make sure that the following actions work.
76-
console.log(InstanceMovie.getStarts().map(actor => `${actor.getName()} ${actor.getAge}`));
76+
console.log(InstanceMovie.getStars().map(actor => `${actor.getName()} ${actor.getAge()}`));
7777
const director = InstanceMovie.getDirector();
78-
console.log(`Director: ${director.getName()}`);
78+
console.log(`Director: ${director.map(director => `${director.getName()}`)}`);
7979
// Be creative with this let's see what you come up with :-)
8080
```
8181

0 commit comments

Comments
 (0)