Functional Programming: Use the filter Method to Extract Data from an Array help!

Functional Programming: Use the filter Method to Extract Data from an Array help!
0

#1

So I may be nearing a solution for this challenge but I can not figure out if there is a way to save each iteration of the string as objects in the generated array while keeping the code I have mostly in tact, is this possible?

spoiler

// Add your code below this line

var filteredList = watchList.filter(a => parseInt(a.imdbRating) >= 8.0).map(a => "title: " + a.Title + ", " + "rating: " + a.imdbRating);
// Add your code above this line

console.log(filteredList);


#2

What does this mean and why would you want to do it?