摘要: 类、对象类:模子对象:产品(成品) 蛋糕(对象) 模子(类) Array 类 arr 对象 Array.push(); 错 arr.push(); 对 new arr(); 错 原型prototype 是加到类上面,而不是对象。 混合方式构造对象:方法都是相同的,属性都是不同的。方法 => 函数属性 阅读全文
posted @ 2018-12-29 20:08 CarpenterZoe 阅读(142) 评论(0) 推荐(0) 编辑
摘要: 选项卡3 选项卡2 阅读全文
posted @ 2018-12-29 20:06 CarpenterZoe 阅读(204) 评论(0) 推荐(0) 编辑
摘要: 阅读全文
posted @ 2018-12-29 20:04 CarpenterZoe 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 疑问: 1. getElementsByTagName 和 getElementsByClassName 的区别? 分别在什么应用场景? 错误1: 错误2: 阅读全文
posted @ 2018-12-29 16:18 CarpenterZoe 阅读(158) 评论(0) 推荐(0) 编辑