会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
不要着急,不要着急,
休息,休息一会。
Welcome to my blog
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
7
8
9
10
11
2019年4月29日
js中常见继承方式
摘要: 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
阅读(2006)
评论(1)
推荐(2)
2019年4月28日
this指针的使用场景
摘要: 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
阅读(498)
评论(3)
推荐(0)
上一页
1
···
7
8
9
10
11
公告
Live2D