在源码中有这样一段:if (typeof exports !== 'undefined') { if (typeof module !== 'undefined' && module.exports) {
exports = module.exports = _;
}
exports._ = _; // 要么是exports._ = _,要么是module.exports = _} else {
root._ = _;
}我的疑问是exports和module.exports任意用一个就行了,这两个不会有循环引用的问题么?
添加回答
举报
0/150
提交
取消