Skip to content

Commit 7645c81

Browse files
authored
Небольшая правка
1 parent 3ef769f commit 7645c81

File tree

1 file changed

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

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ users.sort((a, b) => a.name > b.name ? 1 : -1);
2424
users.sort((a, b) => a.age > b.age ? 1 : -1);
2525
```
2626

27-
Можем ли мы сделать его короче, скажем, вот таким?
27+
Можем ли мы сделать его короче, например вот таким?
2828

2929
```js
3030
users.sort(byField('name'));

0 commit comments

Comments
 (0)