一、exports对象
由于 module.exports 单词写起来比较复杂,为了简化向外共享成员的代码,Node 提供了 exports 对象。默认情况
下,exports 和 module.exports 指向同一个对象。最终共享的结果,还是以 module.exports 指向的对象为准。
// console.log(exports)
// console.log(module.exports)
// console.log(exports === module.exports)
const username = 'Echo'
module.exports.username = username
exports.age