Understand Scope in JavaScript

added by JavaScript Kicks
4/3/2019 6:56:19 AM

576 Views

Scope means access to a variable within a program. We have different scopes since we have functions in a program. In the above example, you can see the variable aa = 10 has the window/root scope and...


0 comments