All challenges
Multiple ChoiceBeginner 30s

String to Number

Choose the best answer for: string-to-number conversion
Options
  1. 1+ converts its operand to a string and that is all
  2. 2parseInt is the only way to parse a number
  3. 3Strings can never become numbers at all ever
  4. 4Number('42') returns 42; Number('abc') returns NaN

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