All challenges
Multiple ChoiceBeginner 30s

Function Declaration

Choose the best answer for: function declarations
Options
  1. 1Declarations are expressions and must be assigned before use
  2. 2function declarations are hoisted (usable before definition)
  3. 3Declarations use => syntax and cannot be called before defined
  4. 4Declarations are not hoisted and only exist after their line runs

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