text: import {Person} from "./person";
  
  export default class Teacher extends Person {
      constructor(name, degree) {
          super(name);
          this.degree = degree;
      }
  
      teach() {
          console.log(this.name + ' teaches');
      }
  }
  
  export function promote() {
  
  }