Created
November 27, 2015 11:01
-
-
Save DimitarChristoff/8e1053cf28f5f08b2378 to your computer and use it in GitHub Desktop.
guess the output.
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
(() => { | |
'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