The function was declared but never added to the exports.
Acceptance criteria
- 1.#out should show 10.
The function was declared but never added to the exports.
function double(n) { return n * 2; } const moduleExports = {}; document.querySelector('#out').textContent = typeof moduleExports.double === "function" ? String(moduleExports.double(5)) : "not exported";
Output ready when you are
Press Run to render your code, or Submit to validate your solution.