Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
chore: address code review
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
Benjamin E. Coe and aduh95 committed Nov 5, 2020
commit e9945112d4772501bdaa5aad10814107b42c28b9
4 changes: 2 additions & 2 deletions lib/internal/util/iterable_weak_map.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ class IterableWeakMap {
return true;
}

*[Symbol.iterator]() {
*[SymbolIterator]() {
for (const ref of this.#refSet) {
const key = ref.deref();
if (!key) continue;
Expand All @@ -82,5 +82,5 @@ function cleanup({ set, ref }) {
Object.freeze(IterableWeakMap.prototype);

module.exports = {
IterableWeakMap
IterableWeakMap,
};