Where is the mistake?

I can’t find the mistake here. Can someone tell me what did I do wrong?

let rightProperties = watchList.map(value => ({
  title: value["Title"],
  rating: value["imdbRating"]
}))

const ratingsBelow8 = rightProperties.filter(value => value.rating >= 8.0);
console.log(ratingsBelow8)

Challenge: Use the filter Method to Extract Data from an Array

Link to the challenge:

You changed the name of the variable. That confuses the tests.

1 Like