Skip to content

Commit 06d7123

Browse files
committed
1 parent 594cc4a commit 06d7123

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/task.md

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

2020
// now: [john, mary, pete]
21-
alert(arr[0].name); // Mary
21+
alert(arr[0].name); // John
2222
alert(arr[2].name); // Pete
2323
```

0 commit comments

Comments
 (0)