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

186
Vistas
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 Respuestas
Responde la pregunta

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 Denunciar
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