Skip to content

Commit 35f9ac6

Browse files
committed
small fix
1 parent 31e45f9 commit 35f9ac6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

week-2/01-async-js/hard (promises)/3-promise-all.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Write 3 different functions that return promises that resolve after t1, t2, and t3 seconds respectively.
33
* Write a function that uses the 3 functions to wait for all 3 promises to resolve using Promise.all,
4-
* Return a promise.all which return the time it takes to complete the entire operation.
4+
* Return a promise.all which return the time in milliseconds it takes to complete the entire operation.
55
*/
66

77
function wait1(t) {

week-2/01-async-js/hard (promises)/4-promise-chain.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*
22
* Write 3 different functions that return promises that resolve after t1, t2, and t3 seconds respectively.
33
* Write a function that sequentially calls all 3 of these functions in order.
4-
* Return a promise chain which return the time it takes to complete the entire operation.
4+
* Return a promise chain which return the time in milliseconds it takes to complete the entire operation.
55
* Compare it with the results from 3-promise-all.js
66
*/
77

0 commit comments

Comments
 (0)