Property Accessor
Noun · Development
Definitions
A getter or setter method that intercepts reads and writes to an object property, allowing computed values, validation, or side effects to occur transparently when the property is accessed with normal dot or bracket syntax. In JavaScript, they are defined with get/set keywords or via Object.defineProperty.
In plain English: A special function that runs automatically whenever you read or set a property on an object, letting the object control what happens behind the scenes.
Example: "The fullName property accessor concatenates firstName and lastName on read, so it always stays in sync."