function Parent(name){
  this.name = name;
  this.showMess = function(){
    return this.name;
  }
}
Parent.prototype.getList = function(){
  return this.name;
}

function Child(name,age){
  this.room = 'room';
  this.phone = '13739238087';
  this.play = function(){
     return "大电话"+this.phone;
  }
  Parent.call(this,name);

}
Child.prototype = new Parent;

最新文章

  1. ios app内嵌入http服务器
  2. GJM :Unity3d导出eclipse工程,导入Android Studio
  3. EEGLAB数据分析:预处理与后续处理
  4. 大文件下载控件(down2)-示例更新-Xproer.HttpDownloader
  5. js判断是否在微信浏览器中打开
  6. XML文件的生成与读取
  7. 微信lbs---返回两个经纬度坐标点的距离
  8. js函数设计原则
  9. python-聊聊反射
  10. hightcharts在移动端运用 FastClick后苹果上legend点击失效的解决办法
  11. Part 3:视图和模板--Django从入门到精通系列教程
  12. vue2.0中使用pug(jade)
  13. MVC 视图不使用模板页的两种方法
  14. Linux常用基本命令(rename,basename,dirname)
  15. Shiro整合springboot,freemaker,redis(含权限系统完整源码)
  16. 【NLP】pyhanlp flask
  17. mysql 5.6 grant授权的时候出现问题
  18. action(二)
  19. ExtJs6编译之后上线报错无法查看到的解决方法
  20. 2.scala控制结构、函数、异常处理

热门文章

  1. X Macro
  2. BarTender无法连接到数据库?原来是微软补丁包捣的鬼
  3. hdu 5691 Sitting in line 状压动归
  4. 路飞学城Python-Day35
  5. Pyhton学习——Day47
  6. epoll的边缘触发与水平触发
  7. laravel save() 返回 null
  8. [NOIPlus]斗地主
  9. ansible 定义主机用户和密码
  10. AMD包下载及使用