We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 70eefa4 commit 9153842Copy full SHA for 9153842
chapter06/01-Set2.js
@@ -55,7 +55,7 @@ let Set2 = (function () {
55
}
56
57
union(otherSet){
58
- let unionSet = new Set();
+ let unionSet = new Set2();
59
60
let values = this.values();
61
for (let i=0; i<values.length; i++){
@@ -71,7 +71,7 @@ let Set2 = (function () {
71
72
73
intersection(otherSet){
74
- let intersectionSet = new Set();
+ let intersectionSet = new Set2();
75
76
77
@@ -84,7 +84,7 @@ let Set2 = (function () {
84
85
86
difference(otherSet){
87
- let differenceSet = new Set();
+ let differenceSet = new Set2();
88
89
90
0 commit comments