Skip to main content

One doc tagged with "Global Object"

View All Tags

Scopes in JavaScript

In this tutorial, we will learn about scopes in JavaScript. A scope is a region of a program where a variable is defined and can be accessed. We will see the different types of scopes in JavaScript and how they work.