Multiple ChoiceIntermediate 30s
String to Boolean
Choose the best answer for: string coercion to boolean
Options
- 1Strings are always falsy
- 2Boolean('false') is true
- 3Boolean('0') is false
- 4Boolean('') is true
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.