NodeJS, Is it a bad practise to return res.json

后端 未结 3 1620
暖寄归人
暖寄归人 2021-02-08 09:07

I\'m building a ExpressJS application with NodeJS. My question is there any performance difference if I do

app.get(\'/test\', function(req, res) {
    fn(functi         


        
3条回答
提交回复
热议问题