Functional Programming: Use the Filter Method to Extract Data from an Array not sure what is wrong

Functional Programming: Use the Filter Method to Extract Data from an Array not sure what is wrong
0

#1

Can someone help me with this?

https://learn.freecodecamp.org/javascript-algorithms-and-data-structures/functional-programming/use-the-map-method-to-extract-data-from-an-array/

var rating = watchList.map(x => {
return {title: x.Title, rating:x.imbaRating}
});

#2

You want to use an anonymous function within the map. What you have is very close.

let rating = watchList.map(movie => {
  return { title: , rating: }
});

#3

You’ve misspelled “imdb”


#4

Thank you! Sorry about this but Dyslexic here :slight_smile: