mirror of
https://github.com/microsoft/frontend-bootcamp.git
synced 2026-01-26 14:56:42 +08:00
fix bug in step2-01 demos
This commit is contained in:
@@ -50,6 +50,12 @@ function makePromise() {
|
||||
return Promise.resolve(5);
|
||||
}
|
||||
|
||||
// TODO: call makePromise() using await syntax and log the results
|
||||
|
||||
// TODO: create a new async function
|
||||
|
||||
async function run() {
|
||||
// TODO: call makePromise() using await syntax and log the results
|
||||
|
||||
// TODO: call your new async function
|
||||
}
|
||||
|
||||
run();
|
||||
|
||||
Reference in New Issue
Block a user