Can I require a function in node.js without executing the entire required file?

前端 未结 0 454
野性不改
野性不改 2020-12-06 07:42

This is the first time I ask a question here. I have the following example case: The export.js file contains a function and some extra lines of code. In this case, it\'s jus

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