CommonJS 模块# ... 在Node.js 模块系统中,每个文件都被视为独立的模块。 ... 当文件直接从Node.js 运行时,则 require.main 被设置为其 module 。
確定! 回上一頁