mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-04-14 07:00:51 -04:00
fix(curriculum): typos in Football Team Cards - Step 12 and 27 (#52999)
This commit is contained in:
@@ -9,15 +9,12 @@ dashedName: step-12
|
||||
|
||||
Inside that `players` array, create a new object with the following properties:
|
||||
|
||||
|
||||
```md
|
||||
|
||||
name: "Sergio Almirón"
|
||||
position: "forward"
|
||||
number: 1
|
||||
isCaptain: false
|
||||
nickname: null
|
||||
|
||||
```
|
||||
|
||||
# --hints--
|
||||
|
||||
@@ -7,7 +7,7 @@ dashedName: step-27
|
||||
|
||||
# --description--
|
||||
|
||||
`arr` contains a series of objects that each contain 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.
|
||||
`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.
|
||||
|
||||
Here is an example:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user