Objects destructure by name with braces, so position gives the wrong value.
Acceptance criteria
- 1.#out should show Ada.
Objects destructure by name with braces, so position gives the wrong value.
const person = { name: "Ada", age: 36 }; const [picked] = Object.values(person).slice(1); document.querySelector('#out').textContent = picked;
Output ready when you are
Press Run to render your code, or Submit to validate your solution.