Skip to content

Commit eb3cb0a

Browse files
committed
fix: remove the log
1 parent 7f815d3 commit eb3cb0a

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

src/array/compact.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,5 @@ import type { FilterNullish } from '../types';
1414
* compact([0, '', null, false, NaN, undefined]) // [0, '', false, NaN, {}]
1515
*/
1616
export function compact<T extends readonly any[]>(xs: T): FilterNullish<T> {
17-
console.log('Here is a bug!');
18-
1917
return xs.filter(x => x != null) as FilterNullish<T>;
2018
}

0 commit comments

Comments
 (0)