The nearest descriptor, or undefined if nothing in the chain declares it.
Description
Find how a property is defined on an object or the closest ancestor that declares it, giving
you the getter, setter, or value rather than just the resolved result. The search starts at the object
itself and stops before Object.prototype, so inherited built-ins are never returned.
getFirstDescriptorInChain