Variables declaration


I am able to declare variables without the "var" and the code is running pretty well. So what's the use of that?


Can you post your code? What you are saying is really suspicious! :sunglasses:


You shouldn't be able to! Bad things will happen if you do this in the real world!

Try to declare ALL variables with the var keyword. :stuck_out_tongue_winking_eye:


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.