Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 0958895

Browse files
committed
fix: using XSet instead of Set
1 parent a1ad2ca commit 0958895

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/_DataStructures_/Set/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ class XSet {
2121
}
2222

2323
union(givenSet) {
24-
const result = new Set();
24+
const result = new XSet();
2525
const firstSetValues = this.values();
2626
const givenSetValues = givenSet.values();
2727

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /