Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我是 NodeJS 的新手。如何从 NodeJS 执行我自己的 javascript 函数。
提前致谢。
创建 js 文件,然后从命令提示符: node -js 文件路径-
示例:节点 C:\app.js