I am not sure what the benefit will be to this besides keeping is all together..?
My goal is to create a class for functions I wrote.
The functions all work together for one purpose so I would like them packaged if possible.
The only classes I know are in php so this seems a bit different to me.
I would have thought this would work.?
var a = "HELLO";
alert("MSG: "+ this.a);
Can someone please give me a tip and maybe wirte a simple example?