JavaScript 格式化工具
VGOT 工具箱
/* 这个是一个类 */ function xx (num,str){//说明 var a = num;this.aa = a; this.bb = function(){alert(str);} this.cc = function(){for(var i=0;i<10;i++){document.title=i;}}}; xx.prototype.dd= function(){alert("d d kd");} var a = new xx(100,"hello"),b=new xx(0,"ttyp"); if(1>2) { alert(); } else { alert(" hell "); } a.bb(); b.dd(); alert(a.aa);
格式化
压缩
经典
微软
© Copyrights
VGOT.NET
2008-2009
皖ICP备17000202号-1
Processed in 0.0061688 second(s), 0 Queries, Memory 518.51 KB.