会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
悔创阿里-杰克马
博客园
首页
新随笔
联系
订阅
管理
2018年4月19日
构造函数与原型继承的使用
摘要: function createFn(name){ this.name = name ; } createFn.prototype.study = function(){ return this.name+"在学习";; } var createFn2 = new createFn("tom"); alert(creat...
阅读全文
posted @ 2018-04-19 20:35 悔创阿里-杰克马
阅读(117)
评论(0)
推荐(0)
公告
求投食~(点图即可)