Skip to content
JavaScript·Intermediate·Conceptual·1 min read

What is a property descriptor?

Short interview answer

It defines a property's value and writability or getter and setter, plus enumerability and configurability. Assignment behavior depends on descriptors found across the chain.

Key takeaway

Explain the underlying mental model clearly, then support it with a concrete example and its trade-offs.

← Back to Prototype chain

Related questions