Write a JS class Person and a class Teacher which extends Person. A Person should have a name and an email. A Teacher should have a name, an email, and a subject.
Input
There will be no input.
Output
Your function should return an object containing the classes Person and Teacher.
Example:
function personAndTeacher() {
//TODO
return {
Person,
Teacher
}
}