1.__filename
代表当前文件被解析之后的绝对路径。
2.exports
和module.exports
区别:
后面过来整理,参考Node.js开发指南.pdf
3.32
章节内容.
11.png
22.png
33.png
44.png
66.png
1.__filename
代表当前文件被解析之后的绝对路径。
2.exports
和module.exports
区别:
后面过来整理,参考Node.js开发指南.pdf
3.32
章节内容.