Global variables can make the logic of a web page.
Difficult to understand
Difficult to reuse and maintain
Difficult to understand, reuse and maintain
Easier to understand and maintain