Functional Programming: Use the filter Method to Extract Data from an Array -- what am I missing?

Tell us what’s happening:
Hi there!
So, for some reason I do not pass the test with this code. Although, I think the output is correct. Can you help me to see what Im missing here?

const filteredList = watchList
  .filter(obj => obj["imdbRating"] >= 8)
  .map(obj => ({"titel": obj["Title"], "rating": obj ["imdbRating"]}))

You have typo in the first returning key of the map method.

1 Like

O my, your right haha