Can someone help me with this?
var rating = watchList.map(x => {
return {title: x.Title, rating:x.imbaRating}
});
Can someone help me with this?
var rating = watchList.map(x => {
return {title: x.Title, rating:x.imbaRating}
});
You want to use an anonymous function within the map. What you have is very close.
let rating = watchList.map(movie => {
return { title: , rating: }
});
You’ve misspelled “imdb”
Thank you! Sorry about this but Dyslexic here