How can I call a function of an exported function of a module in another script? NodeJS

后端 未结 0 1642
予麋鹿
予麋鹿 2020-12-30 05:33

I want to use a function, which is inside another function (function2) in another js file (2nd.js).

My current code looks something like this:

1st.js

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