Skip to content

Conversation

@serhii-baksheiev
Copy link
Contributor

No description provided.

}


let student1 = new Student('alex', 21, 300, 'universitet')
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

вообщем то хорошо, но нужно еще наследоваться по прототипам

Создать класс Human, у которого будут свойства обычного человека:
имя, возраст, пол, рост, вес.
Используя прототипное наследование создать дочерние классы Worker

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants