Concept Flow - Prototype inheritance
Create object A
Assign prototype of A to object B
Access property on B
Check if property exists on B
Return property
Return property from A if found
If not found, return undefined
When accessing a property on an object, JavaScript looks first on the object itself. If not found, it looks up the prototype chain until it finds the property or returns undefined.