//举例如下: !function (win) { var FUNC = function () { this.v = "3.3" }; //这里添加函数 FUNC.prototype.ceshi = function () { var _selectdata = $('#select').val(); func = new FUNC(); }(window); //调用如下 func.ceshi()