Challenge 2: Famous Writers
Did you know you can also have an array of objects? We've created one for you here. Loop through the array, and for each object, console.log()
the following sentence:
Ignore the brackets. They're just there to let you know a word should be replaced with something else. The sentence you log should look like this:
Here is the array:
If you want an extra challenge, only console.log()
the writers that are alive.
Last updated