function Main ( x,y,w,h ) {
this.x = x;
this.y = y;
this.w = w;
this.h = h;
};
Main.prototype.init = function () {
};
Main.prototype.get= function () {
for(var i = 0; i < 10; i++) {
(function(e) {
alert(e);
})(i);
}
};
Main.init = Main;
var fn = new Main();
fn.get();
添加回答
举报
0/150
提交
取消