2012年1月19日
摘要: 对于js面向对象写一个比较初级的程序 模拟一个动物园的唱歌比赛数据类 /// <summary> /// 动物父类 /// </summary> function animal() { /// <summary> /// 姓名 /// </summary> var name; }function bird() { this.sing = function () { return 100; }}bird.prototype = new animal();function mous... 阅读全文
posted @ 2012-01-19 10:38 xinshenghu 阅读(200) 评论(0) 推荐(0) 编辑