JavaScript中使用构造函数实现继承的代码 复制代码 代码如下: 首先创建父类 function Person(name, age, address) { this name = name; this JavaScript 2022-04-04 102 点赞 1 评论 154 浏览