typeof never returns a class name.
Acceptance criteria
- 1.#out should show an array.
typeof never returns a class name.
const list = []; document.querySelector('#out').textContent = typeof list === "array" ? "an array" : "typeof cannot tell";
Output ready when you are
Press Run to render your code, or Submit to validate your solution.