Skip to content

Commit 00f9d96

Browse files
synapseBridgeAR
andauthored
Update lib/internal/util/comparisons.js
Co-authored-by: Ruben Bridgewater <ruben@bridgewater.de>
1 parent 6873d60 commit 00f9d96

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

lib/internal/util/comparisons.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -286,7 +286,7 @@ function innerDeepEqual(val1, val2, strict, memos) {
286286
return false;
287287
}
288288
} else if (isWeakMap(val1) || isWeakSet(val1)) {
289-
return val1 === val2;
289+
return false;
290290
}
291291

292292
return keyCheck(val1, val2, strict, memos, kNoIterator);

0 commit comments

Comments
 (0)