Update solution.md

This commit is contained in:
Alexander 2017-10-15 23:48:29 +03:00 committed by GitHub
parent 24411a8de8
commit 62ca575e8c

View file

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