Closed
Description
On Node 6.9:
const deepEqual = require("deep-equal"); // v1.0.1
deepEqual(new Set(['a', 'b', 'c']), new Set(['a', 'b', 'c'])); // true
deepEqual(new Set(['a', 'b', 'X']), new Set(['a', 'b', 'c'])); // true
Two sets should not be equal unless their constituents are the same. (Probably the same issue with Map
instances too.)
Metadata
Metadata
Assignees
Labels
No labels