Lingkungan Leksikal di JavaScript

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