![]() |
javascript scope?
what is java script scope?
|
JavaScript has two scopes: global and local. A variable that is declared outside a function definition is a global variable, and its value is accessible and modifiable throughout your program. A variable that is declared inside a function definition is local.
|
java scripts are known as a variable Scope that describes two scopes global and local variable.
A global variable declared outside function . A local variable is declared inside a function. |
All times are GMT -7. The time now is 08:27 PM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.