I have a class similar to the one below. How do I call my init method when the object is created? I don\'t want to have to create an instance of my object then call
init
Just add
this.init();
to your myClass function.