+ 2
What is the deferance between global variable and Constant variable ?
2 Respuestas
+ 4
Global variable can be accessed by anything in the file (functions, classes, loops ect)
Constant variables are variables which value cannot change, if you try to give it a different value the language will throw an error
+ 1
Thats perfect answer !