摘要: //保护套质地:document.querySelectorAll('#struct-bindProp .sell-catProp-struct input')[0] //款式document.querySelectorAll('#struct-bindProp .sell-catProp-stru 阅读全文
posted @ 2021-09-14 18:36 码农-编程小子 阅读(76) 评论(0) 推荐(0) 编辑
摘要: 1:构造函数 function Person(){ this.name='jeff'; this.sing=function(){ console.log('sing') } } 构造函数存在一个问题,实化化的时候无法共享属性或方法 2:Prototype原型对象 prototype这个属性包含一个 阅读全文
posted @ 2021-09-14 14:36 码农-编程小子 阅读(42) 评论(0) 推荐(0) 编辑