Gets the property of target, equivalent to target[propertyKey]
when receiver === target
.
Object that contains the property on itself or in its prototype chain.
The property name.
Optional
receiver: anyThe reference to use as the this
value in the getter function,
if target[propertyKey]
is an accessor property.
Gets the property of target, equivalent to
target[propertyKey]
whenreceiver === target
.