Brackets run the function now instead of scheduling it.
Acceptance criteria
- 1.#out should show later.
Brackets run the function now instead of scheduling it.
function announce() { document.querySelector('#out').textContent = "later"; } setTimeout(announce(), 10); document.querySelector('#out').textContent = "ran too early";
Output ready when you are
Press Run to render your code, or Submit to validate your solution.