js继承的实现方法?

1. 原型链

2. call()/apply()

3. 混合方式(prototype和call()/apply()结合)

4. 对象冒充

posted on 2018-04-08 20:06  向往回得来  阅读(83)  评论(0编辑  收藏  举报

导航