Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

264
Visualizações
What's the difference between Lexical Environment and a Global Environment

What's the difference between Lexical Environment and the Global Environment ?

from what i've seen the lexical environment contain environment record and outer reference to the outer lexical environment if that so.

if the outer reference has a reference to the parent lexical environment so that's mean that the Global Environment is also a lexical environment does it ? because if i call a function that was declared inside the Global Environment.

the outer reference should be a lexical environment so that's mean the Global Environment is a lexical environment.

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

The lexical environment is where the code is put, i.e. the whole environment where the code is written, like a .js file

And the global environment is more associated with the execution context, which is where the code is being executed.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda