app.handle , app.handle, proto.js. , , app.handle Node function app() ? appin..uh.. function app(). .
, app.handle proto. , app app , .
2. function app()? , , createServer . , ?
connect docs :
var app = connect();
…
http.createServer(app).listen(3000);
, connect ( createServer, ) app, http-.
3. utils.merge() ? mixin.
, merge . app . , . - :
app.__proto__ = utils.merge(Object.create(EventEmitter.prototype), proto);
app instanceof Function; .