All challenges
Multiple ChoiceIntermediate 30s

hasOwnProperty

Choose the best answer for: own property check
Options
  1. 1hasOwnProperty includes properties inherited from the prototype
  2. 2hasOwnProperty returns the value of the named property
  3. 3hasOwnProperty is a static method on the Object constructor
  4. 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.

Play this in a 3-minute battle