FrontendDeveloper.in

JavaScript question detail

What are the problems with global variables

The problem with global variables is the conflict of variable names of local and global scope. It is also difficult to debug and test the code that relies on global variables.

Back to all JavaScript questions
Get LinkedIn Premium at Rs 399