Without the final brackets the function is stored, not called.
Acceptance criteria
- 1.#out should show 42.
Without the final brackets the function is stored, not called.
const answer = function () { return 6 * 7; }; document.querySelector('#out').textContent = typeof answer === "function" ? "not called" : answer;
Output ready when you are
Press Run to render your code, or Submit to validate your solution.