Skip to content

Conversation

@BukinaNastya
Copy link
Contributor

No description provided.

super(options);
this.company = options.company;
this.salary = options.salary;
this.works = () => console.log("good work!");
Copy link
Member

Choose a reason for hiding this comment

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

that method should be in prototype but not in constructor

this.grants = options.grants;
this.watchSerials = () => console.log("Greate serials!");
}
}
Copy link
Member

Choose a reason for hiding this comment

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

same as above

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