src/parts/delete.js
Function _del
has 34 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function _del(_test, length, heapname, makeHeap, diffname, diff, n) {
const title = `Heap delete (${heapname}, ${diffname}, ${n})`;
_test(title, (t) => {
const q = makeHeap(diff);
Function _del
has 7 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
export function _del(_test, length, heapname, makeHeap, diffname, diff, n) {