All challenges
Multiple ChoiceIntermediate 30s

Class Syntax — Private Fields

Choose the best answer for: class keyword
Options
  1. 1class introduces a brand new inheritance model into the language
  2. 2class is syntactic sugar over prototype-based inheritance
  3. 3class replaces functions entirely in all modern code
  4. 4class requires you to always declare an explicit constructor

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