Use the filter method to extract date from an array. Cant figure out what is wrong

Use the filter method to extract date from an array. Cant figure out what is wrong
0

#1

I cannot for the life of me figure out what is wrong with my code for this challenge.
var filteredList = watchList.filter(x => parseInt(x.imdbRating) >= 8.0).map(x => ({ title: x.title, rating: x.imdbRating}));

I have tried and tweaked the brackets and yet still. It just keeps printing out : [{…}, {…}, {…}, {…}]
I dont know why the elements are empty


#2

figured it out. the t in x.title was small