Created
November 30, 2015 09:58
-
-
Save mkf-simpson/79f5adee5503ca5a4cac to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function tryFinally() { | |
"use strict"; | |
for (let i = 0; i < 5; i++) { | |
try { | |
return i; | |
} finally { | |
if (i !== 3) { | |
continue; | |
} | |
} | |
} | |
} | |
console.log(tryFinally()); //? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment