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

Skip to content

Commit a4efa29

Browse files
committed
corrected MAKEME week7
1 parent d7431e5 commit a4efa29

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Week7/MAKEME.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ myMovie.addStar(firstActor);
125125
// Make sure that the following actions work.
126126
console.log(myMovie.getStars().map(actor => `${actor.getName()} ${actor.getAge()}`));
127127
const director = myMovie.getDirector();
128-
console.log(`Director: ${director.map(director => `${director.getName()}`)}`);
128+
console.log(`Director: ${director.getName()}`);
129129
```
130130

131131
Fun extra step: If you get bored, template them and make a page by rendering the results in HTML :smile: with something like `document.querySelector('.move').innerHTML = ...`

0 commit comments

Comments
 (0)