Merge pull request #252 from usernamehw/patch-6

Update solution.md
This commit is contained in:
Ilya Kantor 2017-11-01 09:59:35 +03:00 committed by GitHub
commit 944f89caa4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -21,8 +21,8 @@ usersMapped = [
]
*/
alert( usersMapped[0].id ) // 1
alert( usersMapped[0].fullName ) // John Smith
alert( usersMapped[0].id ); // 1
alert( usersMapped[0].fullName ); // John Smith
```
Please note that in for the arrow functions we need to use additional brackets.