...

/

Exercise 1: Who's the Teacher?

Exercise 1: Who's the Teacher?

In this exercise, you have to implement prototypal inheritance between two objects, Person and Teacher.

Problem Statement

In this exercise, two object literals, Person and Teacher are given.

Define the following properties in the Teacher object:

  • name and set is as Amy.

  • age and ...

Create a free account to access the full course.

By signing up, you agree to Educative's Terms of Service and Privacy Policy