__dirname 和__filename是node内置的一个常量 ... console.log(__dirname); //我在当前文件夹内运行这个js文件打印一下 //表示当前文件所在的文件夹地址.
確定! 回上一頁