MCQs > IT & Programming > JavaScript > Which Object method takes a `propertyName` parameter and returns `true` if the object contains an uninherited property with that key?

JavaScript MCQs

Which Object method takes a `propertyName` parameter and returns `true` if the object contains an uninherited property with that key?

Answer

Correct Answer: obj.hasOwnProperty('propertyName');

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it