Saved Bookmarks
| 1. |
wat is local and global scope of a function?how to identify which function has local or global scope in function |
|
Answer» ong>Answer: A variable's scope is the range of the script where it is VISIBLE. VARIABLES have either global or local scope. A global variable exists only once in a script, and is visible in every FUNCTION. Modifications to it in ONE function are permanent and visible to all functions. |
|