let person = {
firstName: "Rella",
lastName: "binson",
age: 18,
getFullName: function() {
return this.firstName + ' ' + this.lastName;
}
};
for (let key in person) {
if (person.hasOwnProperty(key)) {
console.log(key + ' ' + person[key])
}
}
// it doesn't print 'getFullName()