let result = person.hasOwnProperty('firstName'); console.log(result); // true Code language: JavaScript (javascript)