exports
node模块
node模块是基于commonJs规范的

- exports栗子
1 | function abc(a,b){ |
- module.exports栗子
1 | function abc(a,b){ |
- 本文标题:exports
- 本文作者:sonder
- 创建时间:2020-05-19 17:23:01
node模块是基于commonJs规范的

1 | function abc(a,b){ |
1 | function abc(a,b){ |