const healthObj = { showHealth : function() { console.log("오늘 운동시간 : " + this.healthTime); } } const myHealth = { name : "mama", lastTime : "11:20" } const newobj = Object.setPrototypeOf(myHealth, healthObj); console.log("myhealth is ", myHealth); console.log("newobj is ", newobj);