DEV Community

loading...

Discussion on: Remove Duplicates With Set() - Full-Stop

Collapse
merri profile image
Vesa Piittinen

No.

new Set([{ a: 1 }, { a: 1 }]).size
// -> 2
Enter fullscreen mode Exit fullscreen mode