为什么express要app=express(),而有些模块直接require就能使用?
var express = require(‘express’); var app = express(); var superagent = require(‘superagent’);
var express = require(‘express’); var app = express(); var superagent = require(‘superagent’);