Multiple ChoiceIntermediate 30s
hasOwnProperty
Choose the best answer for: own property check
Options
- 1hasOwnProperty includes properties inherited from the prototype
- 2hasOwnProperty returns the value of the named property
- 3hasOwnProperty is a static method on the Object constructor
- 4obj.hasOwnProperty('prop') checks own (non-inherited) property
Think you can answer under pressure?
Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.