Question: javascript has its own property?
Answer: The hasOwnProperty() method in JavaScript is used to check whether the object has the specified property as its own property. ... Return Value: It returns a boolean value indicating whether the object has the given property as its own property.