Code:
```
var http = require('http');
var port = process.env.port || 1337;
var express = require('express');
var app = express();
app.get('/', function(req, res) {
res.send('Hello!');
});
app.listen(8888);
```
Inside the body of the lambda, there's no code completion for either req or res.
Comments: I thought this was covering the built-in handler, not express... Getting this in express is pretty difficult. We need a better understanding of arguments + function.apply (which I'll check in), but then we need to understand: Router.prototype.route = function(method, path, callbacks){ var method = method.toLowerCase() , callbacks = utils.flatten([].slice.call(arguments, 2)); The slicing of arguments is something that we cannot easily support right now.
```
var http = require('http');
var port = process.env.port || 1337;
var express = require('express');
var app = express();
app.get('/', function(req, res) {
res.send('Hello!');
});
app.listen(8888);
```
Inside the body of the lambda, there's no code completion for either req or res.
Comments: I thought this was covering the built-in handler, not express... Getting this in express is pretty difficult. We need a better understanding of arguments + function.apply (which I'll check in), but then we need to understand: Router.prototype.route = function(method, path, callbacks){ var method = method.toLowerCase() , callbacks = utils.flatten([].slice.call(arguments, 2)); The slicing of arguments is something that we cannot easily support right now.