"use strict"; (function () { class Animal { constructor(name) { this.name = name; } } class B extends Animal { constructor(name, age) { super(name); this.age = age; } } let b = new B("图图", 3); console.log(b); })();