added answers
This commit is contained in:
parent
b9ca198809
commit
e93ee20396
|
@ -1,6 +1,7 @@
|
||||||
const getTheTitles = function() {
|
function getTheTitles(book){
|
||||||
|
const result = book.map(getTitle => getTitle.title);
|
||||||
};
|
return result;
|
||||||
|
}
|
||||||
|
|
||||||
// Do not edit below this line
|
// Do not edit below this line
|
||||||
module.exports = getTheTitles;
|
module.exports = getTheTitles;
|
||||||
|
|
Loading…
Reference in New Issue