All challenges
Multiple ChoiceIntermediate 30s

Constructor Functions

Choose the best answer for: new with functions
Options
  1. 1new creates an instance linked to the function's prototype
  2. 2new returns undefined when a constructor returns an object
  3. 3Constructors must be declared using the class keyword
  4. 4Functions cannot be used as constructors with the new keyword

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