let person = { firstName: 'John', lastName: 'Doe' }; let result = 'firstName' in person; console.log(result); // true result = 'age' in person; console.log(result); // false Code language: JavaScript (javascript)