当前模块的目录名。 这与 __filename 的 path.dirname() 相同。 示例:从 /Users/mjr 运行 node example.js console.log(__dirname); // 打印: /Users/mjr ...
確定! 回上一頁