In JavaScript, almost everything is an object. Understanding objects and how they share behaviors through prototypes is the key to writing clean, reusable code. In this chapter, we’ll explore the object model from the ground up, from simple object literals to modern class syntax, and see how JavaScript’s inheritance really works under the hood.