Skip to content

Commit f31f52f

Browse files
committed
feat: SameValueZero规则 Set 化时比较的目标
1 parent ae93299 commit f31f52f

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

JS/API/set.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
const pre = [1, 1, {}, {}]
2+
console.log(new Set(pre))

0 commit comments

Comments
 (0)