会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
还有多少青春可以挥霍
这刻在望著父亲笑容时,竟不知不觉的无言
博客园
首页
新随笔
管理
订阅
2012年1月6日
javascript中的封装多态和继承
摘要: 封装Encapsulation如下代码,这就算是封装了(function (windows, undefined) { var i = 0;//相对外部环境来说,这里的i就算是封装了})(window, undefined);继承Inheritance(function (windows, u...
阅读全文
posted @ 2012-01-06 16:48 kkun
阅读(6294)
评论(3)
推荐(2)
编辑
公告