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

257
Views
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 answers
Answer question

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 Report
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!