Skip to content

Commit c0fcfe3

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

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
@@ -17,7 +17,7 @@ let users = [
1717
Обычный способ был бы таким:
1818

1919
```js
20-
// по имени (Анна, Иван, Петр)
20+
// по имени (Анна, Иван, Пётр)
2121
users.sort((a, b) => a.name > b.name ? 1 : -1);
2222

2323
// по возрасту (Петр, Анна, Иван)

0 commit comments

Comments
 (0)