base.superclass.constructor.call(this,config)

来源:互联网 发布:嗟乎大丈夫当如此也 编辑:程序博客网 时间:2024/06/03 09:41

转载之处:http://blog.csdn.net/yiyuhanmeng/article/details/6960152


base.superclass.constructor.call(this,config);

这个意思就是调用父类的构造函数 作用域是当前子类 传入config参数 将来config中有什么属性 会为子类构造出什么属性


0 0