Multiple ChoiceIntermediate 30s
Throw Non-Error
Choose the best answer for: throwing non-Error values
Options
- 1Throwing a non-Error value is undefined behavior across engines
- 2Throwing a non-Error value always raises a SyntaxError there
- 3Only objects inheriting from the built-in Error can be thrown
- 4JavaScript allows throwing any value (strings, numbers, objects)
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.