Property lookup
Property lookup is JavaScript’s process of resolving a property by checking an object and, if necessary, its prototype chain.
The Joy of JavaScript
The process by which a language determines which property value or method is returned when a property access occurs.
- How it is used
- Explains how property access and method calls work across linked JavaScript objects.
- How deep it goes
- Traces lookup from an object through [[Prototype]] to Object.prototype, including failure behavior; leaves shadowing largely unexplored.
- Examples
- Uses linked transaction objects to contrast local and inherited properties, then a missing constructor-prototype method to expose a broken chain.
- What you can do after
- Diagnose/debug missing inherited properties or methods by checking where a lookup starts and how prototype links are configured.
JavaScript in Depth
The JavaScript procedure for resolving a property by checking an object and then traversing its prototype chain.
- How it is used
- Diagnoses surprising inherited values, shadowed properties, and security-sensitive behavior caused by prototype-chain reads.
- How deep it goes
- Traces own descriptors, data properties, accessors, prototype traversal, and null termination, while distinguishing reads from writes.
- Examples
- Uses drawer objects, inherited labels, accessor setters, authorization checks, and inherited configuration defaults.
- What you can do after
- Diagnose inherited-property bugs by inspecting descriptors and prototype chains with Object.getOwnPropertyDescriptor and Object.getPrototypeOf.
What to know first
- prototype chainA prototype chain is the linked sequence of JavaScript prototype objects consulted during property lookup when an object lacks the requested property itself.
Related concepts
- prototypeuses · A JavaScript prototype is an object through which other objects can access properties and methods by delegation during lookup.
- prototype chainuses · A prototype chain is the linked sequence of JavaScript prototype objects consulted during property lookup when an object lacks the requested property itself.
- prototype-based object orientationused by · Prototype-based object orientation is an object model in which objects inherit properties and behavior through links to other objects, called prototypes.
- JavaScript runtimeuses · A JavaScript execution environment that runs JavaScript code and provides language services and interfaces to its host platform.
- moduleproduced by · A module is a cohesive unit of code or computation that groups related functionality within a larger system and defines a scope or boundary for organizing or sharing it.
Questions about property lookup
What is property lookup?
Property lookup is JavaScript’s process of resolving a property by checking an object and, if necessary, its prototype chain.
Which Manning books explain property lookup?
The Joy of JavaScript and JavaScript in Depth.
What should I know before learning property lookup?
Manning books that teach property lookup usually introduce prototype chain first.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

