Skip to content

Commit 6ee5bca

Browse files
author
mik-laj
committed
Add missing bracket
1 parent 0790365 commit 6ee5bca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/sorting/quicksort-declarative.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
const [x, ...rest] = arr;
3030

3131
return [
32-
...quickSort(rest.filter(v => cmp(v, x) < 0),
32+
...quickSort(rest.filter(v => cmp(v, x) < 0)),
3333
x,
3434
...quickSort(rest.filter(v => cmp(v, x) >= 0))
3535
]

0 commit comments

Comments
 (0)