UNPKG

327 BJavaScriptView Raw
1import 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 */
8function bubbleSort(x, fc = null, fm = null) {
9 return bubbleSort$(x.slice(), fc, fm);
10}
11export default bubbleSort;
12//# sourceMappingURL=index.js.map
\No newline at end of file