Skip to content

Commit

Permalink
Clean up
Browse files Browse the repository at this point in the history
  • Loading branch information
lahmatiy committed Sep 22, 2023
1 parent 410a7b1 commit 20fc8c9
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/methods.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,6 @@ function stableSort(array, cmp) {
.map(item => item.value);
}


export default Object.freeze({
bool: buildin.bool,
filter: buildin.filter,
Expand Down Expand Up @@ -317,15 +316,3 @@ export default Object.freeze({
p: percentile, // alias for percentile()
median
});

// function top(current, n = 10, cmp = buildin.cmp) {
// if (isArrayLike(current) && isFinite(n) && n > 0) {
// const heap = new MinHeap(n, cmp);

// heap.add(current);

// return [...heap];
// }

// return [];
// }

0 comments on commit 20fc8c9

Please sign in to comment.