index.js
function construct(klass, args) {
  function T() {
    klass.apply(this, arguments[0]);
  }
  T.prototype = klass.prototype;
  return new T(args);
}
function construct(klass, args) {
  function T() {
    klass.apply(this, arguments[0]);
  }
  T.prototype = klass.prototype;
  return new T(args);
}
function construct ( klass , args ) { function T ( ) { klass . apply ( this , arguments [ 0 ] ) ; } T . prototype = klass . prototype ; return new T ( args ) ; }
Calls the constructor.
@param  {Object} klass Constructor function.
@param  {Array}  args  Arguments for the constructor function.
@return {Object}       The new object.
Calls the constructor .