Skip to content

Commit b67884c

Browse files
authored
Merge pull request javascript-tutorial#254 from usernamehw/patch-8
Update solution.md
2 parents 10927ec + 62ca575 commit b67884c

File tree

1 file changed

+1
-1
lines changed
  • 1-js/05-data-types/05-array-methods/8-sort-objects

1 file changed

+1
-1
lines changed

1-js/05-data-types/05-array-methods/8-sort-objects/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,6 @@ let arr = [ john, pete, mary ];
1212
sortByName(arr);
1313

1414
// now sorted is: [john, mary, pete]
15-
alert(arr[1].name) // Mary
15+
alert(arr[1].name); // Mary
1616
```
1717

0 commit comments

Comments
 (0)