Tell us what’s happening:
function getBookInformation(catalog) {
return catalog.map(book => book.title);
}
why it keep says ‘Your getBookInformation function should return an array’?
Your code so far
// User Editable Region
function getBookInformation(catalog) {
return catalog.map(book => book.title);
}
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/142.0.0.0 Safari/537.36
Challenge Information:
Build a Library Manager - Step 6