js中java式的类成员
摘要:function Range(from,to,x){ //实例(对象)字段 this.x=x;}//类字段Range.Y="类字段";//类方法Range.s=function(){ return '类方法';};Range.prototype={ construct...
阅读全文
posted @ 2015-07-31 00:35
posted @ 2015-07-31 00:35
posted @ 2015-07-28 11:13
posted @ 2015-07-24 12:45
posted @ 2015-07-23 22:16
posted @ 2015-07-23 21:57
posted @ 2015-07-07 16:41
posted @ 2015-07-02 17:16