Skip to content

Instantly share code, notes, and snippets.

@DimitarChristoff
Created November 27, 2015 11:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save DimitarChristoff/8e1053cf28f5f08b2378 to your computer and use it in GitHub Desktop.
Save DimitarChristoff/8e1053cf28f5f08b2378 to your computer and use it in GitHub Desktop.
guess the output.
(() => {
'use strict';
let x = (() => {
for (let i = 0; i < 5; i++){
try {
return i;
} finally {
if (i != 3) continue;
}
}
})();
console.log(x); // ?
})();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment