Lab 3
Lab 3
Input Output
4. Create an object named library with a books property that is an
array of objects, where each book has title, author, and year
properties. Write a function that logs the title of each book in
the library.