Code AnalysisHard 45s
finally with return
What does this code output?
Starter code
function f() {
try {
return 1;
} finally {
return 2;
}
}
console.log(f());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.