Skip to content

Commit 4ddd13c

Browse files
authored
Update 1-js/06-advanced-functions/03-closure/9-sort-by-field/task.md
1 parent c0fcfe3 commit 4ddd13c

File tree

1 file changed

+1
-1
lines changed
  • 1-js/06-advanced-functions/03-closure/9-sort-by-field

1 file changed

+1
-1
lines changed

1-js/06-advanced-functions/03-closure/9-sort-by-field/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ let users = [
2020
// по имени (Анна, Иван, Пётр)
2121
users.sort((a, b) => a.name > b.name ? 1 : -1);
2222

23-
// по возрасту (Петр, Анна, Иван)
23+
// по возрасту (Пётр, Анна, Иван)
2424
users.sort((a, b) => a.age > b.age ? 1 : -1);
2525
```
2626

0 commit comments

Comments
 (0)