Merge pull request #254 from usernamehw/patch-8

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

View file

@ -12,6 +12,6 @@ let arr = [ john, pete, mary ];
sortByName(arr);
// now sorted is: [john, mary, pete]
alert(arr[1].name) // Mary
alert(arr[1].name); // Mary
```