Site Owners Forums - Webmaster Forums

Site Owners Forums - Webmaster Forums (http://siteownersforums.com/index.php)
-   Social Networks (http://siteownersforums.com/forumdisplay.php?f=43)
-   -   javascript scope? (http://siteownersforums.com/showthread.php?t=161620)

touchwood 11-26-2015 10:59 PM

javascript scope?
 
what is java script scope?

rajkiran 10-05-2016 12:05 AM

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.

Manishaverma07 10-05-2016 12:51 AM

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.