201504290802_《在封装Node.js和前端通用的模块时的逻辑》 if (typeof exports !== "undefined") { exports.** = **;} else { this.** = **;} 前端-语言