exports 和 module.exports 的区别从内存模型讲清 exports 与 module.exports 的关系:为什么给 exports 重新赋值会失效,而给 module.exports 赋值就正常。2018-06-18技术笔记 / 前端Node.jsCommonJS模块