Prototype & Prototypal Inheritance

What happens when dog.makeSound() is called?
const animal = {
  makeSound() {
    return 'Some sound';
  }
};

const dog = Object.create(animal);
dog.makeSound = function() {
  return 'Woof!';
};
Next Question (3/22)