Prototype Chain Explained
How objects inherit properties and methods from other objects through an internal link called the prototype, forming a chain up to Object.prototype.
JavaScript is a prototype-based language, meaning inheritance works through objects linking directly to other objects, rather than through classes copying behavior at compile time the way class-based languages traditionally do. Understanding the prototype chain is essential because it's the actual mechanism underneath both old-style constructor functions and modern ES6 classes, and interviewers use it to distinguish candidates who understand JS deeply from those who've only used the class syntax on the surface.
The prototype chain is like an org chart for answering questions: you ask your direct teammate (own properties) first; if they don't know, you escalate up to their manager (prototype), then their manager's manager, until someone up the chain has the answer or you reach the CEO (Object.prototype) with nowhere further to go.