Here is what we are asked to do (below)
arr
contains a series of objects that each contains a name
, position
, number
, isCaptain
and nickname
property. In order to access each of those properties inside the callback function, you will need to use object destructuring to unpack them into variables.
We don’t have “isCaptain” but it is not part of what we have done. “headCoach” is part of what we did, but no “isCaptain” shows up until Step 12. If I missed it then how can I add it now? Or is the a ‘bug’?