Skip to content

Instantly share code, notes, and snippets.

@pstjvn
Created February 15, 2014 14:47
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 pstjvn/9020226 to your computer and use it in GitHub Desktop.
Save pstjvn/9020226 to your computer and use it in GitHub Desktop.
<html>
<head><title>Hoisting</title></head>
<body>
<script>
var F = function() {
console.log('F');
F2();
}
function a() {
F();
}
a();
function F2() {
console.log('F2');
}
</script>
</body>
</html>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment