摘要:
var myclass = function myclass(){this.field="";this.method=function(){};}myclass.prototype.anothermethod = function(name){ this.name = name;};myclass.prototype.another_field = "";var obj = new myclass();obj.method();obj.field;var class = {name:"",methodname:function(){} 阅读全文
posted @ 2013-01-15 16:55
yoyo_zeng
阅读(142)
评论(0)
推荐(0)
浙公网安备 33010602011771号