关于构造函数什么值传递给他的实例,只有this和prototype
摘要:
var a= function (){var bb = 12; this.aa ="xxx"}; a.aa="www"; a.prototype.cc="eee";var b = new a; for (var i in b){console.log(b[i]);}console.log (b)co... 阅读全文
posted @ 2014-07-20 23:15 dhj 阅读(260) 评论(0) 推荐(0) 编辑