Title exercise complete
This commit is contained in:
parent
da7479ac27
commit
30ac06d409
|
@ -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;
|
||||
|
||||
|
|
Loading…
Reference in New Issue