摘要: 在node中,需要记住,在使用exports和module.exports的时候,实际输出的是module.exports。 exports指向module.exports,是module.exports的引用,所以,当使用 exports.a = x 的时候,通过引用关系,造成了module.ex 阅读全文
posted @ 2019-05-22 15:51 小小泡zdy 阅读(1133) 评论(0) 推荐(0) 编辑