<script>
function Father(name,age){
this.name=name;
this.age=age;
}
function son(name,age){
Father.call(this,name,age);
}
var ss=new son("bob",22);
console.log(ss.name);
</script>
相关文章
- 11-1841 搜索功能/1-搜索导航栏
- 11-18Codeforces Round #407 (Div. 1) B. Weird journey —— dfs + 图
- 11-18matplotlib之__main__:1: UserWarning: Matplotlib is currently using agg, which is a non-GUI backend, s
- 11-181分钟学会使用Tor代理教程
- 11-18求N的倍数M都是各位0和1
- 11-18zw版【转发·*nvp系列Delphi例程】HALCON FastThreshold1
- 11-18less学习---less的继承(extend)
- 11-18单位圆盘的全纯自同构群Aut B(0,1)
- 11-18LabVIEW读写各类格式图像的方法(基础篇—1)
- 11-18[High Performance Computing] {Udacity} L1: Course Information