Skip to content

Commit 9153842

Browse files
author
echosteg
committed
fixing issue loiane#21
1 parent 70eefa4 commit 9153842

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

chapter06/01-Set2.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ let Set2 = (function () {
5555
}
5656

5757
union(otherSet){
58-
let unionSet = new Set();
58+
let unionSet = new Set2();
5959

6060
let values = this.values();
6161
for (let i=0; i<values.length; i++){
@@ -71,7 +71,7 @@ let Set2 = (function () {
7171
}
7272

7373
intersection(otherSet){
74-
let intersectionSet = new Set();
74+
let intersectionSet = new Set2();
7575

7676
let values = this.values();
7777
for (let i=0; i<values.length; i++){
@@ -84,7 +84,7 @@ let Set2 = (function () {
8484
}
8585

8686
difference(otherSet){
87-
let differenceSet = new Set();
87+
let differenceSet = new Set2();
8888

8989
let values = this.values();
9090
for (let i=0; i<values.length; i++){

0 commit comments

Comments
 (0)