odin-default-js-exercises/getTheTitles/getTheTitles.js

6 lines
109 B
JavaScript
Raw Normal View History

var getTheTitles = function(array) {
return array.map(book => book.title)
2019-04-11 16:37:33 +00:00
}
module.exports = getTheTitles