Local and Global Scope Variables in JavaScript
Global Variables − A global variable has a global scope which means it can be defined anywhere in your JavaScript code.
Local Variables − A local variable will be visible only within a function where it is defined. Function parameters are always local to that function. |
All times are GMT -7. The time now is 06:32 AM. |
Powered by vBulletin Copyright © 2020 vBulletin Solutions, Inc.