Plain objects are not iterable.
Acceptance criteria
- 1.#out should show TypeError.
Plain objects are not iterable.
const settings = { theme: "dark" }; let name = "no error"; for (const value of settings) { name = "looped"; } document.querySelector('#out').textContent = name;
Output ready when you are
Press Run to render your code, or Submit to validate your solution.