(1)let obj = {firstName:"John", lastName:"Doe", age:50, eyeColor:"blue"};
(2) for(let key in obj){
console.log(key + '---' + obj[key])
}
(3) Object.getOwnPropertyNames(obj).forEach(function(key){
console.log(key+ '---'+obj[key])
})
(4) console.log(Object.keys(obj))
console.log(Object.values(obj))