Passed test (all) in exercise 11
This commit is contained in:
parent
fe94193f97
commit
d8d93e38e0
|
@ -1,5 +1,8 @@
|
|||
const getTheTitles = function() {
|
||||
|
||||
const getTheTitles = function(array) {
|
||||
const titles = array.map((obj) => {
|
||||
return obj.title;
|
||||
})
|
||||
return titles;
|
||||
};
|
||||
|
||||
// Do not edit below this line
|
||||
|
|
Loading…
Reference in New Issue