1 | import bubbleSort$ from './bubbleSort$';
|
2 | /**
|
3 | * Arranges values in an order.
|
4 | * @param x an array
|
5 | * @param fc compare function (a, b)
|
6 | * @param fm map function (v, i, x)
|
7 | */
|
8 | function bubbleSort(x, fc = null, fm = null) {
|
9 | return bubbleSort$(x.slice(), fc, fm);
|
10 | }
|
11 | export default bubbleSort;
|
12 | //# sourceMappingURL=index.js.map |
\ | No newline at end of file |