title: Constructor or init function for an object
body: <p>I was looking for a constructor or a init function for following situation:</p>
  
  <pre><code>var Abc = function(aProperty,bProperty){
     this.aProperty = aProperty;
     this.bProperty = bProperty;
  }; 
  Abc.prototype.init = function(){
     // Perform some operation
  };
  
  //Creating a new Abc object using Constructor.
  
  var currentAbc = new Abc(obj,obj);
  
  //currently I write this statement:
  currentAbc.init();
  </code></pre>
  
  <p>Is there a way to call init function when new object is initialized?</p>