JavaScript, Prototype Chain, Prototype Pattern, Prototypical Inheritance, Modern Javascript.
console.log("Properties on pet1's prototype: ", Object.keys(pet1.__proto__)); Output bellow 👇 Perfect! Object.create is a simple way to let objects directly inherit properties from other objects, by specifying the newly created object's prototype. The new object can access the new properties by