It is showing the answer is incorrect but it matches with the required output
var filteredList;
const newArray = watchList.map(({Title: title, imdbRating: ratings} )=> ({title, ratings}));
console.log(newArray);
filteredList = newArray.filter(rating => rating.ratings >= 8.0)
Challenge: Use the filter Method to Extract Data from an Array
Link to the challenge: