How to access a value inside the callback from the global scope?

后端 未结 0 1297
情歌与酒
情歌与酒 2020-12-23 02:22

I\'m using express Js and I want to export the port on which the server is running for some testing purpose. But the port seems to be only available inside callback function

相关标签:
回答
  • 消灭零回复
提交回复
热议问题