不要着急,不要着急,

休息,休息一会。

上一页 1 ··· 7 8 9 10 11
摘要: 1.原型模式 function Father(){ this.property = true; } Father.prototype.getValue = function(){ return this.property; } function Son(){ this.Sonproperty = f 阅读全文
posted @ 2019-04-29 22:49 angle-xiu 阅读(1998) 评论(1) 推荐(2) 编辑
摘要: this一般运用场景: 1.位于函数中,谁调用指向谁 var make = "Mclaren"; var model = "720s" function fullName() { console.log(this.make + " " + this.model); } var car = { mak 阅读全文
posted @ 2019-04-28 20:36 angle-xiu 阅读(486) 评论(3) 推荐(0) 编辑
上一页 1 ··· 7 8 9 10 11
Live2D