Without this the method cannot see its own property.
Acceptance criteria
- 1.#out should show Hello Ada.
Without this the method cannot see its own property.
const person = { name: "Ada", greet() { return "Hello " + String(typeof name === "string" ? name : undefined); } }; document.querySelector('#out').textContent = person.greet();
Output ready when you are
Press Run to render your code, or Submit to validate your solution.