Home >Topic List >hasownproperty usage

hasownproperty usage

hasOwnProperty is a method on the JavaScript built-in object prototype, which is used to check whether the object's own properties contain the specified property, rather than the properties inherited from its prototype chain. If you want to know more about hasownproperty, you can read the article below this topic.