JS面向对象编程:b怎么继承afunction A(name){this.name = namethis.sayHello = function(){alert(this.name+” say Hello!”)}} function B(name,id){this.te2023-04-28JavaScript340