Title exercise complete

This commit is contained in:
Roberra0 2023-07-07 18:33:58 -07:00
parent da7479ac27
commit 30ac06d409
1 changed files with 3 additions and 2 deletions

View File

@ -1,6 +1,7 @@
const getTheTitles = function() {
const getTheTitles = function(books) {
return books.map(book=>book.title);
};
// Do not edit below this line
module.exports = getTheTitles;