摘要: //构造函数 var myConstructor = function (msg){ this.msg = msg; //私有属性 var separator = '-'; var that = this; //私有方法 function alertMsg(){ alert(that.msg); } alertMsg(); //特权方法 th... 阅读全文
posted @ 2011-11-10 18:27 e.e.p 阅读(246) 评论(0) 推荐(0) 编辑