Skip to content

Commit b23779b

Browse files
committed
oops
1 parent f38b3a5 commit b23779b

File tree

4 files changed

+4
-4
lines changed

4 files changed

+4
-4
lines changed

1-js/11-async/08-async-await/04-still-a-promise/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ class Horse {
3939
}
4040

4141
async run() {
42-
const time = Math.random() * 30 + 10; // 10 to 30 seconds
42+
const time = Math.random() * 30 + 10; // 10 to 40 seconds
4343

4444
await new Promise(resolve => setTimeout(resolve, time * 1000 / 20)); // 20x. We don't want to wait realistic times, do we?
4545

1-js/11-async/08-async-await/04-still-a-promise/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Horse {
1111
}
1212

1313
async run() {
14-
const time = Math.random() * 30 + 10; // 10 to 30 seconds
14+
const time = Math.random() * 30 + 10; // 10 to 40 seconds
1515

1616
await new Promise(resolve => setTimeout(resolve, time * 1000 / 20)); // 20x. We don't want to wait realistic times, do we?
1717

1-js/11-async/08-async-await/05-there-can-be-only-one/solution.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ class Horse {
77
}
88

99
async run() {
10-
const time = Math.random() * 30 + 10; // 10 to 30 seconds
10+
const time = Math.random() * 30 + 10; // 10 to 40 seconds
1111

1212
await new Promise(resolve => setTimeout(resolve, time * 1000 / 20)); // 20x. We don't want to wait realistic times, do we?
1313

1-js/11-async/08-async-await/05-there-can-be-only-one/task.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ class Horse {
1111
}
1212

1313
async run() {
14-
const time = Math.random() * 30 + 10; // 10 to 30 seconds
14+
const time = Math.random() * 30 + 10; // 10 to 40 seconds
1515

1616
await new Promise(resolve => setTimeout(resolve, time * 1000 / 20)); // 20x. We don't want to wait realistic times, do we?
1717

0 commit comments

Comments
 (0)