Multiple ChoiceHard 30s
Error.cause
Choose the best answer for: error chaining
Options
- 1new Error('msg', {cause: originalError}) chains errors
- 2The cause option is a string property replaced by the message
- 3The cause option duplicates the original error as a nested one
- 4The cause option is deprecated and ignored by modern JavaScript
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.