Skip to content

Commit 8fcf5af

Browse files
committed
Remove dead code
1 parent f8c6dcb commit 8fcf5af

File tree

4 files changed

+1
-18
lines changed

4 files changed

+1
-18
lines changed

JavaScript/2-iterable.js

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,3 @@ console.log({ step1, step2, step3, step4 });
2929
console.log({ step });
3030
}
3131
})();
32-
33-
(async () => {
34-
// console.log({ steps: [...iterable] });
35-
})();

JavaScript/3-class.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ class Counter {
66
this.end = end;
77
this.step = step;
88
}
9+
910
[Symbol.asyncIterator]() {
1011
const end = this.end;
1112
let i = this.begin;
@@ -40,7 +41,3 @@ console.log({ step1, step2, step3, step4 });
4041
console.log({ step });
4142
}
4243
})();
43-
44-
(async () => {
45-
// console.log({ steps: [...iterable] });
46-
})();

JavaScript/4-generator.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,3 @@ const gen = async function* () {
2626
console.log({ step });
2727
}
2828
})();
29-
30-
(async () => {
31-
const iterable = gen();
32-
//console.log({ steps: [await ...iterable] });
33-
})();

JavaScript/5-yield.js

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,3 @@ const gen = async function* () {
2222
console.log({ step });
2323
}
2424
})();
25-
26-
(async () => {
27-
const iterable = gen();
28-
//console.log({ steps: [await ...iterable] });
29-
})();

0 commit comments

Comments
 (0)