javascript中的3种继承实现方法 使用Object create实现类式继承 下面是官网的一个例子 Shape - superclass function Shape() { this x JavaScript 2022-04-03 84 点赞 1 评论 127 浏览