[Solution found!] process.cwd() 返回当前工作目录, 即您从中调用node命令的目录。 __dirname 返回包含JavaScript源代码文件的目录的目录名称.
確定! 回上一頁