Typo - miss ')'
Typo - miss ')' for closing parentheses of map method, line 46
This commit is contained in:
parent
a8455f95b6
commit
9d28a4c3e9
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ Here JavaScript would treat `{` as the start of function body, not the start of
|
|||
let usersMapped = users.map(user => *!*({*/!*
|
||||
fullName: `${user.name} ${user.surname}`,
|
||||
id: user.id
|
||||
});
|
||||
}));
|
||||
```
|
||||
|
||||
Now fine.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue