Last active
January 15, 2017 10:28
-
-
Save Cauterite/3b0ff147c77e3a3a4a6edaa5e48661aa to your computer and use it in GitHub Desktop.
This file contains 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
(() => { | |
var let = (f) => f(); | |
let a = 2, b = 5; | |
let c = let(( | |
x = a + b, | |
y = x * 2 | |
) => | |
y * 2 | |
); | |
console.log(c); // 28 | |
console.log(x, y); // undefined, undefined | |
})(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment