mirror of
https://github.com/10h30/odin-javascript-exercises.git
synced 2026-06-05 15:09:09 +09:00
6 lines
119 B
JavaScript
6 lines
119 B
JavaScript
const getTheTitles = function (array) {
|
|
return array.map((book) => book.title);
|
|
};
|
|
|
|
module.exports = getTheTitles;
|