摘要:
module.exports返回的是一个{}, expoerts是对module.exports的一个引用; 即: module.exports = { abc: ‘abc’ }; exports.hehe = ‘hehe’; 等价于: module.exports = { abc: ‘abc’, 阅读全文
posted @ 2018-03-22 16:50
hello八戒
阅读(216)
评论(0)
推荐(0)