Created
October 29, 2016 21:31
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
"use strict"; | |
function g(n) { | |
if (n) { | |
const me_cry = "stand here"; | |
var break_of_dawn = "perfect"; | |
} else { | |
//Some variables rise to the top of the function. | |
//Do their values? | |
console.log(break_of_dawn); | |
//And will you see this one? | |
console.log(me_cry); | |
} | |
} | |
let it = g(0); | |
console.log(it); //IIDPIO. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment