diff --git a/async.js b/async.js index 6524701..5da8f3f 100644 --- a/async.js +++ b/async.js @@ -15,8 +15,10 @@ function testMe() { /* CHALLENGE 2 */ function delayedGreet() { - // ADD CODE HERE -} + console.log("welcome") + } + +setTimeout(delayedGreet, 3000) // Uncomment the following line to check your work! // delayedGreet(); // should log (after 3 seconds): welcome