会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
依依似君子
自强不息,厚德载物
博客园
首页
联系
订阅
管理
2007年1月31日
学习笔记 —— Javascript的类(2)
摘要: //定义一个类function TestClass(name){ //定义一个属性,并设置默认值 this.Name = name || "jxh"; //定义一个对象属性 this.internalClass = new InternalClass(this.Name); //定义一个方法 this.GetFormatName = function() ...
阅读全文
posted @ 2007-01-31 10:00 非我
阅读(513)
评论(0)
推荐(0)
编辑