Book lover

Report a typo

You should print all names of books using the library variable. Perhaps the idea of writing an inner loop will help you.

Write a program in JavaScript
let library = {
books: {
"first": "Brothers Karamazov",
"second": "The Catcher in the Rye"
}
};
for (let object in library) {
//your code
}
___

Create a free account to access the full topic