Skip to content

Commit bdd764a

Browse files
committed
remove console log
1 parent 86f4e16 commit bdd764a

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

top-k-frequent-elements/suhacs.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,5 @@ function top_k_frequent_element(numArr, k) {
1616
});
1717

1818
const topKeys = sortedArray.slice(0, k).map((obj) => Object.keys(obj)[0]);
19-
console.log(topKeys);
2019
return topKeys;
2120
}

0 commit comments

Comments
 (0)