Skip to content

Commit

Permalink
chore: address code review
Browse files Browse the repository at this point in the history
Co-authored-by: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
bcoe and aduh95 committed Nov 5, 2020
1 parent 0b30bc2 commit e994511
Showing 1 changed file with 2 additions and 2 deletions.
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,
};

0 comments on commit e994511

Please sign in to comment.