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

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.