Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

196
Views
En el nivel superior de un script, ¿LexicalEnvironment es lo mismo que VariableEnvironment?

He buscado muchas preguntas similares y ECMA262 2022 durante algunos días, pero aún no sé por qué.

  1. Sé que LE es lo mismo que VE originalmente, ¿significa que apuntan a un registro de entorno?
  2. en el nivel superior de la secuencia de comandos, si contiene declaraciones let o const , ¿se creará un nuevo Registro de entorno y LE lo señalará?

¿Tengo razón al pensarlo de la siguiente manera?

 let a = 1 var b = 2 console.log(a) --------------------------- // Pseudo code: // which right? or other else global Execution Context = { VE: { bindings: b [[outerEnv]]: null }, // create a new ER whose [[outerEnv]] is null. then LE point to it. LE: { bindings: a [[outerEnv]]: null } }

o

 global Execution Context = { VE: { bindings: b [[outerEnv]]: null }, // create a new ER whose [[outerEnv]] is the original ER (which the unchangeable VE point to) // then LE point to it LE: { bindings: a [[outerEnv]]: VE } }
about 4 years ago · Juan Pablo Isaza
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!