const express=require("express");
const app=express();
console.dir(app);
app.use(()=>{
console.log("we have a new request")
}
)
app.listen(8080,()=>{
console.log("listening on port 3000")
}
)
标签:use,const,log,app,express,console From: https://www.cnblogs.com/doudou666/p/16782860.html