rating: item["imdbRating"]}))
console.log(mappedOutList)
const filteredList = mappedOutList.filter(item => item['imdbRating'] >= 8.0);
please what is wrong with this code? see above the code
rating: item["imdbRating"]}))
console.log(mappedOutList)
const filteredList = mappedOutList.filter(item => item['imdbRating'] >= 8.0);
please what is wrong with this code? see above the code
If you post the link to the challenge, it will be easier to get help.
see above link
thisArray.map(item=>item)
thisArray.map(item=>{return {object here}})
The first line returns an array with identical objects
The second line returns an array with possibly different objects
This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.