Code AnalysisHard 45s
Rethrow with cause
What does this code output?
Starter code
const e = new Error("wrap", { cause: new Error("orig") });
console.log(e.cause.message);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.