All challenges
Multiple ChoiceBeginner 30s

Default Parameters

Choose the best answer for: default function parameters
Options
  1. 1Default parameters use null, not undefined, as trigger
  2. 2function f(x = 10) uses 10 when x is undefined
  3. 3Default parameters only work when declared with let
  4. 4Default parameters must be the last parameter listed

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