Skip welcome & menu and move to editor
Welcome to JS Bin
Load cached copy from
 
<!DOCTYPE html>
<html>
<head>
<meta name="description" content="ThangTD | Javascript Under The Hood 1 | The Mysterious Parts: Hoisting">
  <meta charset="utf-8">
  <meta name="viewport" content="width=device-width">
  <title>Hoisting Quizes</title>
</head>
<body>
  <h1>Javascript Under The Hood 1</h1>
  <h2>The Mysterious Parts</h2>
  <h3>Hoisting Quizes</h4>
</body>
</html>
 
var a = 1;
console.log(a);
console.log(b);
console.log(c);
console.log(d);
console.log(e);
console.log(f);
console.log(g);
console.log(h);
var b = 2;
var d = e = 3;
function f() {};
var g = function() {};
h = 4;
function foo() {
    var bar = 5;
    baz = 6;
    console.log(qux);
    var qux = 8;
}
var qux = 7;
foo();
console.log(bar);
console.log(foo.bar);
console.log(baz);
console.log(foo.baz);
Output

You can jump to the latest bin by adding /latest to your URL

Dismiss x
public
Bin info
wataridoripro
0viewers