摘要: 1.exports为了使用方便,node内部提供的一个变量,指向module.exports exports和module.exports的区别exports只能抛出对象,而module.exports可以抛出当前内容形式原因:当调用require函数加载模块时,实则加载的是该模块的module.e 阅读全文
posted @ 2018-09-29 10:53 maps..xy 阅读(198) 评论(0) 推荐(0) 编辑