若参数不为字符串类型,则会抛出TypeError。 若不传递任何参数时,返回Node 进程的当前工作目录。因此 path.resolve() === process.cwd() 结果为 ...
確定! 回上一頁