JSJS ConceptsMulti-paradigmParadigmOOPPrototypal InheritanceclassSubclassOn this pageSubclass ↔ child class extends classclass Employee extends Person { constructor(fName, title) { super(fName) this.title = title } greet = () => console.log(`Hi ${this.title} ${fName}`)}const tom = new Employee("tom", "boss")tom.greet()References