entorno léxico en JavaScript

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