enter code herevar http = require('http');
var global_count = 1;
var onRequest =function(res,resp){
console.log('into server');
resp.write('您是第'+global_count+'次访客');
resp.end();
global_count++;
console.log(global_count);
}
var server=http.createServer(onRequest);
server.listen(9090);