Merge pull request #194 from TMatrix/patch-4

Typo - extra letter 'l' before calling function
This commit is contained in:
Ilya Kantor 2017-09-19 21:14:56 +02:00 committed by GitHub
commit a9690a6496

View file

@ -15,7 +15,7 @@ let mary = { name: "Mary", age: 28 }
let arr = [ john, pete, mary ];
lsortByName(arr);
sortByName(arr);
// now: [john, mary, pete]
alert(arr[1].name) // Mary