has
Equivalent to propertyKey in target.
Parameters
target
Object that contains the property on itself or in its prototype chain.
propertyKey
Name of the property.
Equivalent to propertyKey in target.
Object that contains the property on itself or in its prototype chain.
Name of the property.