Node 中的文件路径大概有__dirname, __filename, process.cwd(), ./ 或者../,前三个都是绝对路径,为了便于比较,./ 和../ 我们通过path.resolve('.
確定! 回上一頁