Hello there - I can’t figure out how to use the map method to pass this test. Specifically, I can’t seem to pair the strings “Title” or “rating” with the title of each movie and the IMDB rating. The best I got is the following, where I am able to extract the titles and ratings per se.
let rating = watchList.map(x => [x.Title, x.imdbRating]);
// console.log(rating) results in the following: [["Inception", "8.8"], ["Interstellar", "8.6"], ["The Dark Knight", "9.0"], ["Batman Begins", "8.3"], ["Avatar", "7.9"]]
What am I doing wrong here?