Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

194
Vistas
Difference between Lexical Environments and Environment Records in modern ecmaScript

I try to understand how closure is working under the hood. So I've read a lot of documentation and so many different websites.

Then I read this Variable Environment vs lexical environment

And in old documentation (2011) https://262.ecma-international.org/5.1/#sec-10.2

there are two different things, LE and ER.

But in modern https://262.ecma-international.org/12.0/#sec-environment-records

There is only one, environment record, and description of it is very similar to the old describe of lexical environments/

So, I am really confusing. Does LE still exist for modern javaScript (ecmaScript 6+)? What the difference between LE and ER?

about 4 years ago · Juan Pablo Isaza
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda