Ambiente Lexical em JavaScript

// lexical environment
function a() {
  var b = 10;
  c();
  function c() {
    console.log(b);
  }
}
a();
Abhishek