Complete excercise 11

This commit is contained in:
Thuan Bui
2025-02-26 10:47:30 +09:00
parent 0a70d76792
commit 8beb3b7714
+4 -1
View File
@@ -1,4 +1,7 @@
const getTheTitles = function() {
const getTheTitles = function(title) {
console.log(title)
bookTitle = title.map(obj => obj.title)
return bookTitle
};