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

181
Views
Does `script scope` exist?

JavaScript has 3 types of scope:

  • Block scope
  • Function scope
  • Global scope

enter image description here

let and const are not mounted on window, but on script. What is script? Can I understand it as Global scope? I don't understand it very well, so I hope you can help me. Thanks!

about 4 years ago · Juan Pablo Isaza
1 answers
Answer question

0

If you add multiple script tags to a HTML File with multiple variables the script scope the scope of a particular variable inside one of the script comes as a Script Scope. In Firefox devtools simply call such a scope "block" as because variables in the scirpt scope can be accessed in another script tag(including the external ones).

For A Much Detailed Explanation You Can Read The Following Answer

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!