Math is not a constructor.
Acceptance criteria
- 1.#out should show 5.
Math is not a constructor.
let result; try { const m = new Math(); result = String(m.abs(-5)); } catch (error) { result = "Math is not a constructor"; } document.querySelector('#out').textContent = result;
Output ready when you are
Press Run to render your code, or Submit to validate your solution.