Tell us what’s happening:
Even after using curly braces, I am getting the error "You should unpack all 5 object properties from objects in arr. What I am doing wrong ?
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* file: script.js */
// User Editable Region
playerCards.innerHTML += arr.map(({name, position, number, isCaptain, nickName}) => {
})
// User Editable Region
Your browser information:
User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:135.0) Gecko/20100101 Firefox/135.0
Challenge Information:
Learn Modern JavaScript Methods by Building Football Team Cards - Step 24