Tell us what’s happening:
Your code so far
const ratings = watchList.map(({title, rating}, index, arr) => {
return "title: " + arr[index]["Title"] + ", rating: " + arr[index]["imdbRating"];
});
Your browser information:
User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/109.0.0.0 Safari/537.36
Challenge: Functional Programming - Use the map Method to Extract Data from an Array
Link to the challenge: