What value is obtained when executing anotherObject.talk() in the following code?
const myObject = {
talk: function() {
return 'Hello';
}
};
const anotherObject = Object.create(myObject);
What value is obtained when executing anotherObject.talk() in the following code?
const myObject = {
talk: function() {
return 'Hello';
}
};
const anotherObject = Object.create(myObject);