Skip to content

Commit e6ffd3c

Browse files
authored
Небольшие правки
1 parent bd67a73 commit e6ffd3c

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
```js run
1+
```js
22
function byField(fieldName) {
33
return (a, b) => a[fieldName] > b[fieldName] ? 1 : -1;
44
}

0 commit comments

Comments
 (0)