Skip to content

Commit

Permalink
fix: remove needless entries for map (#15213)
Browse files Browse the repository at this point in the history
  • Loading branch information
Connormiha authored Jul 27, 2024
1 parent b3cebcf commit d669eed
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ function deepCyclicCopyMap<T>(

cycles.set(map, newMap);

for (const [key, value] of map.entries()) {
for (const [key, value] of map) {
newMap.set(key, deepCyclicCopyReplaceable(value, cycles));
}

Expand Down

0 comments on commit d669eed

Please sign in to comment.