Current File : //usr/lib/node_modules/bower/lib/node_modules/mout/src/lang/ctorApply.js
define(function () {

    function F(){}

    /**
     * Do fn.apply on a constructor.
     */
    function ctorApply(ctor, args) {
        F.prototype = ctor.prototype;
        var instance = new F();
        ctor.apply(instance, args);
        return instance;
    }

    return ctorApply;

});